diff options
Diffstat (limited to 'drivers/scsi/bfa/bfad_fwimg.c')
-rw-r--r-- | drivers/scsi/bfa/bfad_fwimg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/bfa/bfad_fwimg.c b/drivers/scsi/bfa/bfad_fwimg.c index bd34b0db2d6..2ad65f275a9 100644 --- a/drivers/scsi/bfa/bfad_fwimg.c +++ b/drivers/scsi/bfa/bfad_fwimg.c | |||
@@ -65,10 +65,10 @@ bfad_read_firmware(struct pci_dev *pdev, u32 **bfi_image, | |||
65 | memcpy(*bfi_image, fw->data, fw->size); | 65 | memcpy(*bfi_image, fw->data, fw->size); |
66 | *bfi_image_size = fw->size/sizeof(u32); | 66 | *bfi_image_size = fw->size/sizeof(u32); |
67 | 67 | ||
68 | return(*bfi_image); | 68 | return *bfi_image; |
69 | 69 | ||
70 | error: | 70 | error: |
71 | return(NULL); | 71 | return NULL; |
72 | } | 72 | } |
73 | 73 | ||
74 | u32 * | 74 | u32 * |
@@ -78,12 +78,12 @@ bfad_get_firmware_buf(struct pci_dev *pdev) | |||
78 | if (bfi_image_ct_size == 0) | 78 | if (bfi_image_ct_size == 0) |
79 | bfad_read_firmware(pdev, &bfi_image_ct, | 79 | bfad_read_firmware(pdev, &bfi_image_ct, |
80 | &bfi_image_ct_size, BFAD_FW_FILE_CT); | 80 | &bfi_image_ct_size, BFAD_FW_FILE_CT); |
81 | return(bfi_image_ct); | 81 | return bfi_image_ct; |
82 | } else { | 82 | } else { |
83 | if (bfi_image_cb_size == 0) | 83 | if (bfi_image_cb_size == 0) |
84 | bfad_read_firmware(pdev, &bfi_image_cb, | 84 | bfad_read_firmware(pdev, &bfi_image_cb, |
85 | &bfi_image_cb_size, BFAD_FW_FILE_CB); | 85 | &bfi_image_cb_size, BFAD_FW_FILE_CB); |
86 | return(bfi_image_cb); | 86 | return bfi_image_cb; |
87 | } | 87 | } |
88 | } | 88 | } |
89 | 89 | ||