[ldv-project] [PATCH] usb: musb: remove useless condition from musb_gadget_dequeue()

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Jul 14 17:09:03 MSK 2022


On Mon, Jul 11, 2022 at 06:17:36PM +0300, Andrey Strachuk wrote:
> Comparison of 'ep' with NULL is useless since
> 'ep' is a result of container_of and cannot be NULL
> in any reasonable scenario.

Again, show the call stack as this is not called with container_of()
here.

thanks,

greg k-h



More information about the ldv-project mailing list