Re: drivers/usb/serial/option.c compiler warning

From: Greg KH
Date: Thu Jul 16 2009 - 18:01:47 EST


On Wed, Jul 15, 2009 at 11:53:47AM +0530, Jaswinder Singh Rajput wrote:
> I am getting compiler warning in linus tree:
>
> CC [M] drivers/usb/serial/option.o
> drivers/usb/serial/option.c: In function âoption_instat_callbackâ:
> drivers/usb/serial/option.c:834: warning: unused variable âserialâ
> drivers/usb/serial/option.c: In function âoption_openâ:
> drivers/usb/serial/option.c:930: warning: unused variable âserialâ
>
> This fixes the warning in my case, hope this will be helpful :

Hm, you forgot a Signed-off-by: line, and someone beat you to sending
this change to me a few hours earlier, sorry.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/