projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0fbd5b
)
USB: cyberjack: remove a unnecessary variable.
author
Andre Haupt
<andre@bitwigglers.org>
Tue, 20 Nov 2007 10:41:37 +0000
(11:41 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Feb 2008 22:34:51 +0000
(14:34 -0800)
This also fixes a sparse warning that symbol 'result' shadows an earlier one.
Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cyberjack.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/cyberjack.c
b/drivers/usb/serial/cyberjack.c
index 4353df92487f528256ca27bb8169d287d3f85b63..8d9b045aa7e84b1e90f8f5431d088320466079b7 100644
(file)
--- a/
drivers/usb/serial/cyberjack.c
+++ b/
drivers/usb/serial/cyberjack.c
@@
-319,7
+319,6
@@
static void cyberjack_read_int_callback( struct urb *urb )
/* React only to interrupts signaling a bulk_in transfer */
if( (urb->actual_length==4) && (data[0]==0x01) ) {
short old_rdtodo;
- int result;
/* This is a announcement of coming bulk_ins. */
unsigned short size = ((unsigned short)data[3]<<8)+data[2]+3;