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_sds.c | |
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_sds.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_sds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_sds.c b/drivers/scsi/aic94xx/aic94xx_sds.c index 2a4c933eb89c..4446e3d584dc 100644 --- a/drivers/scsi/aic94xx/aic94xx_sds.c +++ b/drivers/scsi/aic94xx/aic94xx_sds.c | |||
@@ -590,8 +590,8 @@ static int asd_reset_flash(struct asd_ha_struct *asd_ha) | |||
590 | return err; | 590 | return err; |
591 | } | 591 | } |
592 | 592 | ||
593 | static inline int asd_read_flash_seg(struct asd_ha_struct *asd_ha, | 593 | static int asd_read_flash_seg(struct asd_ha_struct *asd_ha, |
594 | void *buffer, u32 offs, int size) | 594 | void *buffer, u32 offs, int size) |
595 | { | 595 | { |
596 | asd_read_reg_string(asd_ha, buffer, asd_ha->hw_prof.flash.bar+offs, | 596 | asd_read_reg_string(asd_ha, buffer, asd_ha->hw_prof.flash.bar+offs, |
597 | size); | 597 | size); |