diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-05-06 08:17:57 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-08 03:58:58 +0200 |
commit | 88bfdf565cbe33524308d912777f4267981d4be0 (patch) | |
tree | 5bd3fe38cbc09802442e9350a8a556944b044d88 /drivers/scsi/aacraid | |
parent | scsi: qla2xxx: Use true, false for ha->fw_dumped (diff) | |
download | linux-88bfdf565cbe33524308d912777f4267981d4be0.tar.xz linux-88bfdf565cbe33524308d912777f4267981d4be0.zip |
scsi: qla2xxx: Make qlafx00_process_aen() return void
No other functions use the return value of qlafx00_process_aen() and the
return value is always 0 now. Make it return void. This fixes the following
coccicheck warning:
drivers/scsi/qla2xxx/qla_mr.c:1716:5-9: Unneeded variable: "rval".
Return "0" on line 1768
Link: https://lore.kernel.org/r/20200506061757.19536-1-yanaijie@huawei.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid')
0 files changed, 0 insertions, 0 deletions