Re: [PATCH] usb: musb: Remove unnecessary check of musb->hcd in musb_handle_intr_connect()

From: Greg KH
Date: Tue Dec 17 2019 - 04:59:17 EST


On Tue, Dec 17, 2019 at 05:50:23PM +0800, Jia-Ju Bai wrote:
> In musb_handle_intr_connect(), musb->hcd should be non-null,
> so the check of musb->hcd on line 783 could be dropped.

Have you verified that this is always the case? How did you do that?

thanks,

greg k-h