diff mbox series

usb: xhci: remove unused member 'parent' in xhci_regset struct

Message ID 1548814341-15116-1-git-send-email-chunfeng.yun@mediatek.com (mailing list archive)
State New, archived
Headers show
Series usb: xhci: remove unused member 'parent' in xhci_regset struct | expand

Commit Message

Chunfeng Yun (云春峰) Jan. 30, 2019, 2:12 a.m. UTC
The member @parent of xhci_regset struct is not used in fact,
so remove it

Change-Id: Ic6727c28f7200782fe4516bcb41c789b427318a2
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
 drivers/usb/host/xhci-debugfs.h |    1 -
 1 file changed, 1 deletion(-)

Comments

Greg Kroah-Hartman Jan. 30, 2019, 7:12 a.m. UTC | #1
On Wed, Jan 30, 2019 at 10:12:21AM +0800, Chunfeng Yun wrote:
> The member @parent of xhci_regset struct is not used in fact,
> so remove it
> 
> Change-Id: Ic6727c28f7200782fe4516bcb41c789b427318a2

No need for this line :(
Chunfeng Yun (云春峰) Jan. 31, 2019, 1:46 a.m. UTC | #2
On Wed, 2019-01-30 at 08:12 +0100, Greg Kroah-Hartman wrote:
> On Wed, Jan 30, 2019 at 10:12:21AM +0800, Chunfeng Yun wrote:
> > The member @parent of xhci_regset struct is not used in fact,
> > so remove it
> > 
> > Change-Id: Ic6727c28f7200782fe4516bcb41c789b427318a2
> 
> No need for this line :(
Oh, my bad, I'll resend it, thanks
diff mbox series

Patch

diff --git a/drivers/usb/host/xhci-debugfs.h b/drivers/usb/host/xhci-debugfs.h
index ac5bc40..f7a4e24 100644
--- a/drivers/usb/host/xhci-debugfs.h
+++ b/drivers/usb/host/xhci-debugfs.h
@@ -80,7 +80,6 @@  struct xhci_regset {
 	char			name[DEBUGFS_NAMELEN];
 	struct debugfs_regset32	regset;
 	size_t			nregs;
-	struct dentry		*parent;
 	struct list_head	list;
 };