summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/debugfs.c
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2011-11-18 23:53:16 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-18 15:19:21 -0800
commit42b4d114b936f3f7da121823774a42e584bf09f9 (patch)
tree908beee5b342293821426559a54bedf52e0794c0 /drivers/usb/dwc3/debugfs.c
parent8ee4dd9f063ce59c08f3ce283ca03306131aaf3a (diff)
downloadlinux-42b4d114b936f3f7da121823774a42e584bf09f9.tar.bz2
usb: dwc3: fix a warning
The previous patch left an unused variable, I apologize. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/dwc3/debugfs.c')
-rw-r--r--drivers/usb/dwc3/debugfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
index d9e7a26ee5f0..fcfa91517ea1 100644
--- a/drivers/usb/dwc3/debugfs.c
+++ b/drivers/usb/dwc3/debugfs.c
@@ -377,7 +377,6 @@ static const struct debugfs_reg32 dwc3_regs[] = {
static int dwc3_regdump_show(struct seq_file *s, void *unused)
{
struct dwc3 *dwc = s->private;
- int i;
seq_printf(s, "DesignWare USB3 Core Register Dump\n");
debugfs_print_regs32(s, dwc3_regs, ARRAY_SIZE(dwc3_regs),