[stgt] [PATCH] fix compile warning

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Jul 15 08:59:14 CEST 2010


spc.c: In function 'lu_config':
spc.c:1631: warning: unused variables 'lu_bsoflags'

Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
 usr/spc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/usr/spc.c b/usr/spc.c
index 22fa975..a3d3452 100644
--- a/usr/spc.c
+++ b/usr/spc.c
@@ -1628,7 +1628,6 @@ int lu_config(struct scsi_lu *lu, char *params, match_fn_t *fn)
 
 	while ((p = strsep(&params, ",")) != NULL) {
 		substring_t args[MAX_OPT_ARGS];
-		int token, lu_bsoflags = 0;
 
 		if (!*p)
 			continue;
-- 
1.6.5

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list