USB: host: ohci-at91: Remove unused variable regs in at91_stop_hc
authorNathan Chancellor <natechancellor@gmail.com>
Fri, 11 Oct 2019 18:59:50 +0000 (11:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Oct 2019 18:01:59 +0000 (20:01 +0200)
commitbe731286685af4de728851991b98cb8f579f58f6
treee0687d9c3b835872d66b001637f1326e448c5853
parentc8dd192be821039d7023e0a5869d2cdf3acdef7e
USB: host: ohci-at91: Remove unused variable regs in at91_stop_hc

drivers/usb/host/ohci-at91.c:118:28: warning: unused variable 'regs'
[-Wunused-variable]
        struct ohci_regs __iomem *regs = hcd->regs;
                                  ^
1 warning generated.

Fixes: 9c4567fa0a44 ("USB: host: ohci-at91: completely shutdown the controller in at91_stop_hc()")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20191011185950.1470-1-natechancellor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-at91.c