[PATCH] vhost/scsi: Remove unused but set variable

Stefan Hajnoczi
Tue, 15 Nov 2016 14:40:15 -0000

On Fri, Nov 11, 2016 at 02:27:10PM +0100, Tobias Klauser
wrote:
> Remove the unused but set variable se_tpg in vhost_scsi_nexus_cb() to
> fix the following GCC warning when building with 'W=1':
>
>   drivers/vhost/scsi.c:1752:26: warning: variable ?se_tpg? set but not used
>
> Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
> ---
>  drivers/vhost/scsi.c | 2 --
>  1 file changed, 2 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: 455 bytes
Desc: not available
URL:
<http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20161115/2de75d2b/attachment.sig>