]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: bfa: Remove redundant NULL check
authorHaowen Bai <baihaowen@meizu.com>
Tue, 15 Mar 2022 01:57:14 +0000 (09:57 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:23:05 +0000 (23:23 -0400)
commitd6dc7c8358dcb26da565f7977a2728129b9a4ce0
treede54c2f409b8820baf9715e3b9d80538465f736b
parenta2ff709dd45a340b441ce9802ec63899f3b1db07
scsi: bfa: Remove redundant NULL check

Fix the following warning reported by coccicheck:

drivers/scsi/bfa/bfad_debugfs.c:375:2-7: WARNING: NULL check before some freeing functions is not needed.

Link: https://lore.kernel.org/r/1647309434-13936-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfad_debugfs.c