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

2016-11-15 Thread Stefan Hajnoczi
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: Tobi

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

2016-11-11 Thread Tobias Klauser
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 --- drivers/vhost/scsi.c | 2 -- 1 file changed, 2 deletions(-)