staging: wilc1000: remove ununsed variable

This patch removes ununsed variable 'len'

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Hari Prasath Gujulan Elango 2015-06-22 13:13:58 +00:00 committed by Greg Kroah-Hartman
parent 369f190a70
commit 810532227a

View File

@ -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)