Re: [PATCH 2/2] usb: mtu3: mtu3_debug: remove an unused struct member

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxx>

Thanks a lot

>  
>  struct mtu3_file_map {





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux