Commit 81053222 authored by Hari Prasath Gujulan Elango's avatar Hari Prasath Gujulan Elango Committed by Greg Kroah-Hartman

staging: wilc1000: remove ununsed variable

This patch removes ununsed variable 'len'
Signed-off-by: default avatarHari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 369f190a
...@@ -118,11 +118,10 @@ static void wilc_debug(uint32_t flag, char *fmt, ...) ...@@ -118,11 +118,10 @@ static void wilc_debug(uint32_t flag, char *fmt, ...)
{ {
char buf[256]; char buf[256];
va_list args; va_list args;
int len;
if (flag & dbgflag) { if (flag & dbgflag) {
va_start(args, fmt); va_start(args, fmt);
len = vsprintf(buf, fmt, args); vsprintf(buf, fmt, args);
va_end(args); va_end(args);
if (g_wlan.os_func.os_debug) if (g_wlan.os_func.os_debug)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment