]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
USB: dwc2: drop irq-flags initialisations
authorJohan Hovold <johan@kernel.org>
Wed, 19 May 2021 09:33:02 +0000 (11:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 18:05:56 +0000 (20:05 +0200)
commit8879904b1935a1eafa688eb0d86aff0fa7907afb
treee763fcbe6c613cdfc1a4129440e294617c164a8e
parent18538a50239b11f07befa18073e00fda3040195c
USB: dwc2: drop irq-flags initialisations

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

While at it drop two redundant return-value initialisations from two of
the functions that got it wrong.

Cc: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210519093303.10789-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c