projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618b886
)
USB: g_printer, fix empty if statement
author
Adrian Bunk
<bunk@kernel.org>
Sat, 9 Feb 2008 11:16:03 +0000
(
03:16
-0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Feb 2008 23:38:50 +0000
(15:38 -0800)
A bug every C programmer makes at some point in time...
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Craig W. Nadler <craig@nadler.us>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/printer.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/printer.c
b/drivers/usb/gadget/printer.c
index 9fdabc8fcac43dbfdbed0dd45660d06fb1eed9c1..4f6bfa100f2ad009381190605cdb75c1ee4271ae 100644
(file)
--- a/
drivers/usb/gadget/printer.c
+++ b/
drivers/usb/gadget/printer.c
@@
-1299,7
+1299,7
@@
printer_unbind(struct usb_gadget *gadget)
printer_req_free(dev->in_ep, req);
}
- if (dev->current_rx_req != NULL)
;
+ if (dev->current_rx_req != NULL)
printer_req_free(dev->out_ep, dev->current_rx_req);
while (!list_empty(&dev->rx_reqs)) {