drivers/staging/vt6655/iwctl.c: In function ‘iwctl_siwrts’:
drivers/staging/vt6655/iwctl.c:1101:6: warning: variable ‘rc’ set but not used 
[-Wunused-but-set-variable]

fix it by returning rc

Signed-off-by: Devendra Naga <devendra.a...@gmail.com>
---
 drivers/staging/vt6655/iwctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c
index 5cdda8d..5744258 100644
--- a/drivers/staging/vt6655/iwctl.c
+++ b/drivers/staging/vt6655/iwctl.c
@@ -1113,7 +1113,7 @@ int iwctl_siwrts(struct net_device *dev,
            }
     }
 
-       return 0;
+       return rc;
 }
 
 /*
-- 
1.8.1.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to