linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: xhci: remove unused member 'parent' in xhci_regset struct
@ 2019-01-30  2:12 Chunfeng Yun
  2019-01-30  7:12 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Chunfeng Yun @ 2019-01-30  2:12 UTC (permalink / raw)
  To: Mathias Nyman
  Cc: Matthias Brugger, Felipe Balbi, Alan Stern, Chunfeng Yun,
	linux-kernel, linux-arm-kernel, linux-usb, linux-mediatek,
	Greg Kroah-Hartman

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(-)

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;
 };
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: xhci: remove unused member 'parent' in xhci_regset struct
  2019-01-30  2:12 [PATCH] usb: xhci: remove unused member 'parent' in xhci_regset struct Chunfeng Yun
@ 2019-01-30  7:12 ` Greg Kroah-Hartman
  2019-01-31  1:46   ` Chunfeng Yun
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2019-01-30  7:12 UTC (permalink / raw)
  To: Chunfeng Yun
  Cc: Mathias Nyman, Matthias Brugger, Felipe Balbi, Alan Stern,
	linux-kernel, linux-arm-kernel, linux-usb, linux-mediatek

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 :(

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: xhci: remove unused member 'parent' in xhci_regset struct
  2019-01-30  7:12 ` Greg Kroah-Hartman
@ 2019-01-31  1:46   ` Chunfeng Yun
  0 siblings, 0 replies; 3+ messages in thread
From: Chunfeng Yun @ 2019-01-31  1:46 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Mathias Nyman, Matthias Brugger, Felipe Balbi, Alan Stern,
	linux-kernel, linux-arm-kernel, linux-usb, linux-mediatek

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-31  1:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30  2:12 [PATCH] usb: xhci: remove unused member 'parent' in xhci_regset struct Chunfeng Yun
2019-01-30  7:12 ` Greg Kroah-Hartman
2019-01-31  1:46   ` Chunfeng Yun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).