linux/drivers/scsi/cxgbi
Colin Ian King 8378573353 scsi: libcxgbi: remove uninitialized variable len
The variable len is not being inintialized and the uninitialized value is
being returned. However, this return path is never reached because the
default case in the switch statement returns -ENOSYS.  Clean up the code by
replacing the return -ENOSYS with a break for the default case and
returning -ENOSYS at the end of the function.  This allows len to be
removed.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-03-27 20:56:35 -04:00
..
cxgb3i scsi: cxgb4i: add wait_for_completion() 2019-01-11 22:33:49 -05:00
cxgb4i SCSI misc on 20190306 2019-03-09 16:53:47 -08:00
Kconfig
libcxgbi.c scsi: libcxgbi: remove uninitialized variable len 2019-03-27 20:56:35 -04:00
libcxgbi.h scsi: cxgb4i: add wait_for_completion() 2019-01-11 22:33:49 -05:00
Makefile scsi: prefix header search paths with $(srctree)/ 2019-01-29 01:22:51 -05:00