From: Hari Prasath Gujulan Elango Date: Mon, 22 Jun 2015 13:13:58 +0000 (+0000) Subject: staging: wilc1000: remove ununsed variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=810532227a431d5f13e732a37119a94d73819949;p=openwrt%2Fstaging%2Fblogic.git staging: wilc1000: remove ununsed variable This patch removes ununsed variable 'len' Signed-off-by: Hari Prasath Gujulan Elango Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index d28c410ba249..def72fd1236d 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -118,11 +118,10 @@ static void wilc_debug(uint32_t flag, char *fmt, ...) { char buf[256]; va_list args; - int len; if (flag & dbgflag) { va_start(args, fmt); - len = vsprintf(buf, fmt, args); + vsprintf(buf, fmt, args); va_end(args); if (g_wlan.os_func.os_debug)