commit | 33bd712be7d2e3bd60262957052abc19c71c4765 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Mar 15 16:46:24 2017 +0000 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Mar 16 19:49:45 2017 -0400 |
tree | d4c431fa29a47a9b0c147615dc02e57f37201ccc | |
parent | ba21222d00a450ce3bfced0e047f52470372634d [diff] |
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>