]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: serial: keyspan_pda: remove unused variable
authorJohan Hovold <johan@kernel.org>
Fri, 8 Jan 2021 14:55:28 +0000 (15:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 18:49:05 +0000 (19:49 +0100)
commitce4ea1f59369ff58df9a35368b5fa53a46b94c59
tree2889fcfaed306987ffd049d36714844bfbe370cd
parent225330e682fa9aaa152287b49dea1ce50fbe0a92
USB: serial: keyspan_pda: remove unused variable

Remove an unused variable which was mistakingly left by commit
37faf5061541 ("USB: serial: keyspan_pda: fix write-wakeup
use-after-free") and only removed by a later change.

This is needed to suppress a W=1 warning about the unused variable in
the stable trees that the build bots triggers.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/keyspan_pda.c