diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-12-03 11:41:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-04 18:49:06 +0300 |
commit | e3541d5de544da54a1770e9c82c55f2a6f6b3b67 (patch) | |
tree | 217686b8cbea45a383e1d07b9e66234f569bc7a4 /drivers/usb/mtu3 | |
parent | 9dc9c8543aa0b9ef8852330b27cd2eef337bea18 (diff) | |
download | linux-e3541d5de544da54a1770e9c82c55f2a6f6b3b67.tar.xz |
usb: mtu3: mtu3_debug: remove an unused struct member
The "nregs" member is not used. The code uses the "regset.nregs"
struct member instead.
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X8ikv1QA3Do50D+R@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mtu3')
-rw-r--r-- | drivers/usb/mtu3/mtu3_debug.h | 1 |
1 files changed, 0 insertions, 1 deletions
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; }; struct mtu3_file_map { |