On Fri, 28 Sep 2018, Greg Kroah-Hartman wrote:
> On Sat, Sep 22, 2018 at 06:31:26AM +0000, YueHaibing wrote:
> > Fixes gcc '-Wunused-but-set-variable' warning:
> >
> > drivers/usb/core/driver.c: In function 'usb_driver_claim_interface':
> > drivers/usb/core/driver.c:513:21: warning:
> > variable 'udev' set but not used [-Wunused-but-set-variable]
> >
> > Signed-off-by: YueHaibing <[email protected]>
> > Acked-by: Alan Stern <[email protected]>
> > ---
> > drivers/usb/core/driver.c | 3 ---
> > 1 file changed, 3 deletions(-)
>
> This patch breaks the build, which is not ok :(
Are you sure you applied it to the right branch? It requires commit
c183813fcee44a24 ("USB: remove LPM management from
usb_driver_claim_interface()"). Probably the tags should mention this.
Alan Stern