scsi: oak: Remove redundant initialization of variable ret
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Fri, 18 Sep 2020 09:07:47 +0000 (17:07 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Sep 2020 00:23:30 +0000 (20:23 -0400)
commit713a846884ce02e402e184c11473f6a19dce8665
tree9cdec77b7db2d3d7a81e52fdbaf9cc6770f0fd2d
parent97d0e04d38b4e3b4510e251144c9e47873a89321
scsi: oak: Remove redundant initialization of variable ret

No point in initializing ret with -ENOMEM.

Link: https://lore.kernel.org/r/20200918090747.44645-1-jingxiangfeng@huawei.com
Acked-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arm/oak.c