From: Greg KH <gregkh@linuxfoundation.org>
To: Jia-Ju Bai <baijiaju1990@gmail.com>
Cc: b-liu@ti.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: musb: Remove unnecessary check of musb->hcd in musb_handle_intr_connect()
Date: Tue, 17 Dec 2019 10:59:11 +0100 [thread overview]
Message-ID: <20191217095911.GA2807137@kroah.com> (raw)
In-Reply-To: <20191217095023.6878-1-baijiaju1990@gmail.com>
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
next prev parent reply other threads:[~2019-12-17 9:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 9:50 [PATCH] usb: musb: Remove unnecessary check of musb->hcd in musb_handle_intr_connect() Jia-Ju Bai
2019-12-17 9:59 ` Greg KH [this message]
2019-12-17 12:27 ` Jia-Ju Bai
2019-12-17 19:15 ` Bin Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191217095911.GA2807137@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=b-liu@ti.com \
--cc=baijiaju1990@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.