diff options
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_task.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_task.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_task.c b/drivers/scsi/aic94xx/aic94xx_task.c index 008df9ab92a..326765c9caf 100644 --- a/drivers/scsi/aic94xx/aic94xx_task.c +++ b/drivers/scsi/aic94xx/aic94xx_task.c | |||
@@ -33,7 +33,7 @@ static void asd_unbuild_ata_ascb(struct asd_ascb *a); | |||
33 | static void asd_unbuild_smp_ascb(struct asd_ascb *a); | 33 | static void asd_unbuild_smp_ascb(struct asd_ascb *a); |
34 | static void asd_unbuild_ssp_ascb(struct asd_ascb *a); | 34 | static void asd_unbuild_ssp_ascb(struct asd_ascb *a); |
35 | 35 | ||
36 | static inline void asd_can_dequeue(struct asd_ha_struct *asd_ha, int num) | 36 | static void asd_can_dequeue(struct asd_ha_struct *asd_ha, int num) |
37 | { | 37 | { |
38 | unsigned long flags; | 38 | unsigned long flags; |
39 | 39 | ||
@@ -51,9 +51,9 @@ static const u8 data_dir_flags[] = { | |||
51 | [PCI_DMA_NONE] = DATA_DIR_NONE, /* NO TRANSFER */ | 51 | [PCI_DMA_NONE] = DATA_DIR_NONE, /* NO TRANSFER */ |
52 | }; | 52 | }; |
53 | 53 | ||
54 | static inline int asd_map_scatterlist(struct sas_task *task, | 54 | static int asd_map_scatterlist(struct sas_task *task, |
55 | struct sg_el *sg_arr, | 55 | struct sg_el *sg_arr, |
56 | gfp_t gfp_flags) | 56 | gfp_t gfp_flags) |
57 | { | 57 | { |
58 | struct asd_ascb *ascb = task->lldd_task; | 58 | struct asd_ascb *ascb = task->lldd_task; |
59 | struct asd_ha_struct *asd_ha = ascb->ha; | 59 | struct asd_ha_struct *asd_ha = ascb->ha; |
@@ -131,7 +131,7 @@ err_unmap: | |||
131 | return res; | 131 | return res; |
132 | } | 132 | } |
133 | 133 | ||
134 | static inline void asd_unmap_scatterlist(struct asd_ascb *ascb) | 134 | static void asd_unmap_scatterlist(struct asd_ascb *ascb) |
135 | { | 135 | { |
136 | struct asd_ha_struct *asd_ha = ascb->ha; | 136 | struct asd_ha_struct *asd_ha = ascb->ha; |
137 | struct sas_task *task = ascb->uldd_task; | 137 | struct sas_task *task = ascb->uldd_task; |
@@ -527,7 +527,7 @@ static void asd_unbuild_ssp_ascb(struct asd_ascb *a) | |||
527 | 527 | ||
528 | /* ---------- Execute Task ---------- */ | 528 | /* ---------- Execute Task ---------- */ |
529 | 529 | ||
530 | static inline int asd_can_queue(struct asd_ha_struct *asd_ha, int num) | 530 | static int asd_can_queue(struct asd_ha_struct *asd_ha, int num) |
531 | { | 531 | { |
532 | int res = 0; | 532 | int res = 0; |
533 | unsigned long flags; | 533 | unsigned long flags; |