From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
<linux-usb@vger.kernel.org>, <linux-mediatek@lists.infradead.org>,
<kernel-janitors@vger.kernel.org>
Subject: Re: [PATCH 2/2] usb: mtu3: mtu3_debug: remove an unused struct member
Date: Fri, 4 Dec 2020 10:07:56 +0800 [thread overview]
Message-ID: <1607047676.7284.18.camel@mhfsdcap03> (raw)
In-Reply-To: <X8ikv1QA3Do50D+R@mwanda>
On Thu, 2020-12-03 at 11:41 +0300, Dan Carpenter wrote:
> The "nregs" member is not used. The code uses the "regset.nregs"
> struct member instead.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> drivers/usb/mtu3/mtu3_debug.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/usb/mtu3/mtu3_debug.h b/drivers/usb/mtu3/mtu3_debug.h
> index 3084c46017c3..9a36134b322d 100644
> --- a/drivers/usb/mtu3/mtu3_debug.h
> +++ b/drivers/usb/mtu3/mtu3_debug.h
> @@ -19,7 +19,6 @@ struct ssusb_mtk;
> struct mtu3_regset {
> char name[MTU3_DEBUGFS_NAME_LEN];
> struct debugfs_regset32 regset;
> - size_t nregs;
> };
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Thanks a lot
>
> struct mtu3_file_map {
prev parent reply other threads:[~2020-12-04 2:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-03 8:41 [PATCH 2/2] usb: mtu3: mtu3_debug: remove an unused struct member Dan Carpenter
2020-12-04 2:07 ` Chunfeng Yun [this message]
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=1607047676.7284.18.camel@mhfsdcap03 \
--to=chunfeng.yun@mediatek.com \
--cc=dan.carpenter@oracle.com \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).