]> 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 19:10:23 +0000 (20:10 +0100)
commitc1a0af0cb4e157a3393a72344dc70e3536c0185d
treede32a2426ac07b42ed86be02b94cfeba2f849f35
parent83b74059fdf1c4fa6ed261725e6f301552ad23f7
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