diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-19 11:33:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-21 20:05:56 +0200 |
commit | 8879904b1935a1eafa688eb0d86aff0fa7907afb (patch) | |
tree | e763fcbe6c613cdfc1a4129440e294617c164a8e /drivers/usb/gadget | |
parent | 18538a50239b11f07befa18073e00fda3040195c (diff) | |
download | linux-next-8879904b1935a1eafa688eb0d86aff0fa7907afb.tar.gz |
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>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions