diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-07-09 17:23:02 +0300 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-08-26 20:34:20 +0300 |
commit | 2374dd238c287fb7a370b53aad2dbc4c8f0c241c (patch) | |
tree | f8e0574eff1fd4d63a9b311c4db9b52805175886 /drivers/scsi/qla2xxx/qla_iocb.c | |
parent | c3ff356d08275960b4a36471a81d5b2685a4074e (diff) | |
download | linux-2374dd238c287fb7a370b53aad2dbc4c8f0c241c.tar.xz |
qla2xxx: Declare local functions static
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_iocb.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_iocb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 36fbd4c7af8f..d58ffb79c064 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -680,7 +680,7 @@ qla24xx_build_scsi_type_6_iocbs(srb_t *sp, struct cmd_type_6 *cmd_pkt, * * Returns the number of dsd list needed to store @dsds. */ -inline uint16_t +static inline uint16_t qla24xx_calc_dsd_lists(uint16_t dsds) { uint16_t dsd_lists = 0; @@ -700,7 +700,7 @@ qla24xx_calc_dsd_lists(uint16_t dsds) * @cmd_pkt: Command type 3 IOCB * @tot_dsds: Total number of segments to transfer */ -inline void +static inline void qla24xx_build_scsi_iocbs(srb_t *sp, struct cmd_type_7 *cmd_pkt, uint16_t tot_dsds) { |