Stefan Hajnoczi
2023-May-29 15:25 UTC
[PATCH] scsi: virtio_scsi: Remove a useless function call
On Mon, May 29, 2023 at 09:35:08AM +0200, Christophe JAILLET wrote:> 'inq_result' is known to be NULL. There is no point calling kfree(). > > Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr> > --- > drivers/scsi/virtio_scsi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-)Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20230529/ee4f402d/attachment.sig>