Commit 42b4d114 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Greg Kroah-Hartman

usb: dwc3: fix a warning

The previous patch left an unused variable, I apologize.
Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8ee4dd9f
...@@ -377,7 +377,6 @@ static const struct debugfs_reg32 dwc3_regs[] = { ...@@ -377,7 +377,6 @@ static const struct debugfs_reg32 dwc3_regs[] = {
static int dwc3_regdump_show(struct seq_file *s, void *unused) static int dwc3_regdump_show(struct seq_file *s, void *unused)
{ {
struct dwc3 *dwc = s->private; struct dwc3 *dwc = s->private;
int i;
seq_printf(s, "DesignWare USB3 Core Register Dump\n"); seq_printf(s, "DesignWare USB3 Core Register Dump\n");
debugfs_print_regs32(s, dwc3_regs, ARRAY_SIZE(dwc3_regs), debugfs_print_regs32(s, dwc3_regs, ARRAY_SIZE(dwc3_regs),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment