Displaying 2 results from an estimated 2 matches for "6e29d053843d".
2016 Nov 11
1
[PATCH] vhost/scsi: Remove unused but set variable
...en 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(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 6e29d053843d..e2be447752c2 100644
--- a/drivers/vhost/scsi.c
+++ b/drivers/vhost/scsi.c
@@ -1749,7 +1749,6 @@ static int vhost_scsi_nexus_cb(struct se_portal_group *se_tpg,
static int vhost_scsi_make_nexus(struct vhost_scsi_tpg *tpg,
const char *name)
{
- struct se_portal_group *se_tpg;
struct vhost_sc...
2016 Nov 11
1
[PATCH] vhost/scsi: Remove unused but set variable
...en 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(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 6e29d053843d..e2be447752c2 100644
--- a/drivers/vhost/scsi.c
+++ b/drivers/vhost/scsi.c
@@ -1749,7 +1749,6 @@ static int vhost_scsi_nexus_cb(struct se_portal_group *se_tpg,
static int vhost_scsi_make_nexus(struct vhost_scsi_tpg *tpg,
const char *name)
{
- struct se_portal_group *se_tpg;
struct vhost_sc...