diff options
author | Johan Hovold | 2020-07-01 18:53:40 +0200 |
---|---|---|
committer | Johan Hovold | 2020-07-02 10:38:42 +0200 |
commit | 1bf2cda6597f08cef06db7b1804e5ff1d5bc5ee8 (patch) | |
tree | 5497154f60c2f9491fb923de5d22e6f63b06c2e7 /drivers/usb/serial | |
parent | 21c2ddc1a91f87aca6465756ee6061158d591b47 (diff) |
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>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/keyspan_pda.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c index bf988f77d400..c1333919716b 100644 --- a/drivers/usb/serial/keyspan_pda.c +++ b/drivers/usb/serial/keyspan_pda.c @@ -664,11 +664,10 @@ static void keyspan_pda_close(struct usb_serial_port *port) /* download the firmware to a "fake" device (pre-renumeration) */ static int keyspan_pda_fake_startup(struct usb_serial *serial) { - int response; const char *fw_name; /* download the firmware here ... */ - response = ezusb_fx1_set_reset(serial->dev, 1); + ezusb_fx1_set_reset(serial->dev, 1); if (0) { ; } #ifdef KEYSPAN |