[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YtAjfxg+hU7kscd7@kroah.com>
Date: Thu, 14 Jul 2022 16:09:03 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Andrey Strachuk <strochuk@...ras.ru>
Cc: Bin Liu <b-liu@...com>, Sergei Shtylyov <sshtylyov@...mvista.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] usb: musb: remove useless condition from
musb_gadget_dequeue()
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
Powered by blists - more mailing lists