USB: serial: drop irq-flags initialisations
authorJohan Hovold <johan@kernel.org>
Wed, 19 May 2021 09:20:06 +0000 (11:20 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 21 May 2021 13:46:25 +0000 (15:46 +0200)
commit17cd3a106e9762cd97883cce884a8bfcf5a476ad
tree29103fb27d030062c528145275283a30632eb273
parent661867161f63bc5cc22b0d1e8ea59a682779a0ef
USB: serial: drop irq-flags initialisations

There's no need to initialise irq-flags variables before saving the
interrupt state.

Drop the redundant initialisations from the three drivers that got this
wrong.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/digi_acceleport.c
drivers/usb/serial/metro-usb.c
drivers/usb/serial/quatech2.c