scsi: scsi_debug: Drop if with an always false condition
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 6 May 2021 20:32:06 +0000 (22:32 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 15 May 2021 02:34:31 +0000 (22:34 -0400)
commit8fb82abccc8a4fc25c75bf209da9b2023d064e05
treec62886c381a7a85dc058e9c8605250edb8fa13f8
parent9959d45166faaa75d9d4bf2ad8b945dfbe9888f8
scsi: scsi_debug: Drop if with an always false condition

to_sdebug_host() is a container_of operation, so it never returns NULL.

Link: https://lore.kernel.org/r/20210506203206.254258-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c