scsi: virtio_scsi: Remove a useless function call
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 29 May 2023 07:35:08 +0000 (09:35 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 31 May 2023 15:37:37 +0000 (11:37 -0400)
commit0e5e41ee3d73823d65b33463d557b8b6833b457d
tree79b849cbaa7853a70346338caeb7de47c3d349e6
parent401f8ef3193f9e3bbd454023152868c9aca6dc9d
scsi: virtio_scsi: Remove a useless function call

'inq_result' is known to be NULL. There is no point calling kfree().

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/08740635cdb0f8293e57c557b22e048daae50961.1685345683.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/virtio_scsi.c