From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
kernel-janitors@vger.kernel.org, linux-usb@vger.kernel.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH 2/2] usb: mtu3: mtu3_debug: remove an unused struct member
Date: Fri, 04 Dec 2020 02:07:56 +0000 [thread overview]
Message-ID: <1607047676.7284.18.camel@mhfsdcap03> (raw)
In-Reply-To: <X8ikv1QA3Do50D+R@mwanda>
T24gVGh1LCAyMDIwLTEyLTAzIGF0IDExOjQxICswMzAwLCBEYW4gQ2FycGVudGVyIHdyb3RlOg0K
PiBUaGUgIm5yZWdzIiBtZW1iZXIgaXMgbm90IHVzZWQuICBUaGUgY29kZSB1c2VzIHRoZSAicmVn
c2V0Lm5yZWdzIg0KPiBzdHJ1Y3QgbWVtYmVyIGluc3RlYWQuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5
OiBEYW4gQ2FycGVudGVyIDxkYW4uY2FycGVudGVyQG9yYWNsZS5jb20+DQo+IC0tLQ0KPiAgZHJp
dmVycy91c2IvbXR1My9tdHUzX2RlYnVnLmggfCAxIC0NCj4gIDEgZmlsZSBjaGFuZ2VkLCAxIGRl
bGV0aW9uKC0pDQo+IA0KPiBkaWZmIC0tZ2l0IGEvZHJpdmVycy91c2IvbXR1My9tdHUzX2RlYnVn
LmggYi9kcml2ZXJzL3VzYi9tdHUzL210dTNfZGVidWcuaA0KPiBpbmRleCAzMDg0YzQ2MDE3YzMu
LjlhMzYxMzRiMzIyZCAxMDA2NDQNCj4gLS0tIGEvZHJpdmVycy91c2IvbXR1My9tdHUzX2RlYnVn
LmgNCj4gKysrIGIvZHJpdmVycy91c2IvbXR1My9tdHUzX2RlYnVnLmgNCj4gQEAgLTE5LDcgKzE5
LDYgQEAgc3RydWN0IHNzdXNiX210azsNCj4gIHN0cnVjdCBtdHUzX3JlZ3NldCB7DQo+ICAJY2hh
ciBuYW1lW01UVTNfREVCVUdGU19OQU1FX0xFTl07DQo+ICAJc3RydWN0IGRlYnVnZnNfcmVnc2V0
MzIgcmVnc2V0Ow0KPiAtCXNpemVfdCBucmVnczsNCj4gIH07DQpBY2tlZC1ieTogQ2h1bmZlbmcg
WXVuIDxjaHVuZmVuZy55dW5AbWVkaWF0ZWsuY29tPg0KDQpUaGFua3MgYSBsb3QNCg0KPiAgDQo+
ICBzdHJ1Y3QgbXR1M19maWxlX21hcCB7DQoNCg=
WARNING: multiple messages have this Message-ID (diff)
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
kernel-janitors@vger.kernel.org, linux-usb@vger.kernel.org,
linux-mediatek@lists.infradead.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 {
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
WARNING: multiple messages have this Message-ID (diff)
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 {
next prev parent reply other threads:[~2020-12-04 2:07 UTC|newest]
Thread overview: 6+ 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-03 8:41 ` Dan Carpenter
2020-12-03 8:41 ` Dan Carpenter
2020-12-04 2:07 ` Chunfeng Yun [this message]
2020-12-04 2:07 ` Chunfeng Yun
2020-12-04 2:07 ` Chunfeng Yun
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 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.