Skip to content
Commit 33bd712b authored by Colin Ian King's avatar Colin Ian King Committed by Martin K. Petersen
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarBradley Grove <bgrove@attotech.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent ba21222d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment