scsi: scsi_debug: Stop setting devip->sdbg_host twice
authorJohn Garry <john.g.garry@oracle.com>
Mon, 13 Mar 2023 09:31:05 +0000 (09:31 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Mar 2023 03:25:36 +0000 (23:25 -0400)
commitd280a4ef229c0def06f6641183fb92100b410c63
tree74078f983e0677e1a88d6a7f33d1ae642b4861b5
parent785d6b7cf300637c684e5c7b7c186b01d8a4cf28
scsi: scsi_debug: Stop setting devip->sdbg_host twice

In sdebug_device_create(), the devip->sdbg_host pointer is needlessly set
twice, so stop doing that.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Link: https://lore.kernel.org/r/20230313093114.1498305-3-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c