Re: [PATCH] USB/xHCI: Remove returned value 'status' since never used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 26, 2019 at 09:15:57PM +0100, Mathieu Malaterre wrote:
> The returned value in status has never been used since
> commit 4296c70a5ec3 ("USB/xHCI: Enable USB 3.0 hub remote wakeup.")
> So remove 'status' completely.
> 
> Remove warning (W=1):
> 
>   drivers/usb/core/hub.c:3671:8: warning: variable 'status' set but not used [-Wunused-but-set-variable]
> 
> Cc: Sarah Sharp <sarah.a.sharp@xxxxxxxxx>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>
> ---
>  drivers/usb/core/hub.c | 13 ++++++-------
>  1 file changed, 6 insertions(+), 7 deletions(-)

Why do you have xhci in your subject line?  Shouldn't it be "USB: hub:"?

Please fix up, thanks.

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux