diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-03-28 17:48:34 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:08 -0400 |
commit | 81e56ded878aeb8730f18c1d0a70d5face788be3 (patch) | |
tree | 18485d237927fb1d95179bc1e03d4ebe6ef7d389 /drivers/scsi/aic94xx/aic94xx_dump.h | |
parent | d70d4667e9eead06aa38be947274fda22dcf923b (diff) |
[SCSI] aic94xx: cleanups
- static functions in .c files shouldn't be marked inline
- make needlessly global code static
- remove the unused aic94xx_seq.c:asd_unpause_lseq()
- #if 0 other unused code
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_dump.h')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_dump.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_dump.h b/drivers/scsi/aic94xx/aic94xx_dump.h index 0c388e7da6bb..191a753d42a7 100644 --- a/drivers/scsi/aic94xx/aic94xx_dump.h +++ b/drivers/scsi/aic94xx/aic94xx_dump.h | |||
@@ -29,24 +29,15 @@ | |||
29 | 29 | ||
30 | #ifdef ASD_DEBUG | 30 | #ifdef ASD_DEBUG |
31 | 31 | ||
32 | void asd_dump_ddb_0(struct asd_ha_struct *asd_ha); | ||
33 | void asd_dump_target_ddb(struct asd_ha_struct *asd_ha, u16 site_no); | ||
34 | void asd_dump_scb_sites(struct asd_ha_struct *asd_ha); | ||
35 | void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask); | 32 | void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask); |
36 | void asd_dump_frame_rcvd(struct asd_phy *phy, | 33 | void asd_dump_frame_rcvd(struct asd_phy *phy, |
37 | struct done_list_struct *dl); | 34 | struct done_list_struct *dl); |
38 | void asd_dump_scb_list(struct asd_ascb *ascb, int num); | ||
39 | #else /* ASD_DEBUG */ | 35 | #else /* ASD_DEBUG */ |
40 | 36 | ||
41 | static inline void asd_dump_ddb_0(struct asd_ha_struct *asd_ha) { } | ||
42 | static inline void asd_dump_target_ddb(struct asd_ha_struct *asd_ha, | ||
43 | u16 site_no) { } | ||
44 | static inline void asd_dump_scb_sites(struct asd_ha_struct *asd_ha) { } | ||
45 | static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, | 37 | static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, |
46 | u8 lseq_mask) { } | 38 | u8 lseq_mask) { } |
47 | static inline void asd_dump_frame_rcvd(struct asd_phy *phy, | 39 | static inline void asd_dump_frame_rcvd(struct asd_phy *phy, |
48 | struct done_list_struct *dl) { } | 40 | struct done_list_struct *dl) { } |
49 | static inline void asd_dump_scb_list(struct asd_ascb *ascb, int num) { } | ||
50 | #endif /* ASD_DEBUG */ | 41 | #endif /* ASD_DEBUG */ |
51 | 42 | ||
52 | #endif /* _AIC94XX_DUMP_H_ */ | 43 | #endif /* _AIC94XX_DUMP_H_ */ |