[PATCH 2/2] usb: mtu3: mtu3_debug: remove an unused struct member
Chunfeng Yun
chunfeng.yun at mediatek.com
Thu Dec 3 21:07:56 EST 2020
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 at 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 at mediatek.com>
Thanks a lot
>
> struct mtu3_file_map {
More information about the Linux-mediatek
mailing list