Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: serial: keyspan_pda: drop unused firmware reset status

Drop the unused firmware reset status which would already have been
logged.

This suppresses the corresponding W=1 (-Wunused-but-set-variable)
warning.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>

+1 -2
+1 -2
drivers/usb/serial/keyspan_pda.c
··· 664 664 /* download the firmware to a "fake" device (pre-renumeration) */ 665 665 static int keyspan_pda_fake_startup(struct usb_serial *serial) 666 666 { 667 - int response; 668 667 const char *fw_name; 669 668 670 669 /* download the firmware here ... */ 671 - response = ezusb_fx1_set_reset(serial->dev, 1); 670 + ezusb_fx1_set_reset(serial->dev, 1); 672 671 673 672 if (0) { ; } 674 673 #ifdef KEYSPAN