linux-stable/drivers/scsi/esas2r
Colin Ian King 33bd712be7 scsi: esas2r: Remove redundant NULL check on buffer
Buffer is a pointer to the static char array event_buffer and therefore
can never be null, so the check is redundant. Remove it.

Detected by CoverityScan, CID#1077556 ("Logically Dead Code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Bradley Grove <bgrove@attotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-03-16 19:49:45 -04:00
..
atioctl.h
atvda.h
esas2r.h scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
esas2r_disc.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_flash.c esas2r: Correct typos of "validate" in a comment 2014-12-04 09:58:33 +01:00
esas2r_init.c scsi: esas2r: Fix format string type mistakes 2017-01-09 23:52:26 -05:00
esas2r_int.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_io.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_ioctl.c scsi: esas2r: Fix format string type mistakes 2017-01-09 23:52:26 -05:00
esas2r_log.c scsi: esas2r: Remove redundant NULL check on buffer 2017-03-16 19:49:45 -04:00
esas2r_log.h scsi: esas2r: Fix format string type mistakes 2017-01-09 23:52:26 -05:00
esas2r_main.c scsi: esas2r: Fix format string type mistakes 2017-01-09 23:52:26 -05:00
esas2r_targdb.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_vda.c [SCSI] esas2r: Cleanup snprinf formatting of firmware version 2013-10-25 09:58:59 +01:00
Kconfig
Makefile