diff options
author | Andre Haupt <andre@bitwigglers.org> | 2007-11-20 05:41:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 17:34:51 -0500 |
commit | 7b62cc86689e721f0aae87e88cb04ca841cf6c38 (patch) | |
tree | 84d793047446750083b3d620f48db6d9551fa713 /drivers/usb | |
parent | f0fbd5b9ba893b965b2892c1971e3433092b98c7 (diff) |
USB: cyberjack: remove a unnecessary variable.
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/cyberjack.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c index 4353df92487f..8d9b045aa7e8 100644 --- 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 ) | |||
319 | /* React only to interrupts signaling a bulk_in transfer */ | 319 | /* React only to interrupts signaling a bulk_in transfer */ |
320 | if( (urb->actual_length==4) && (data[0]==0x01) ) { | 320 | if( (urb->actual_length==4) && (data[0]==0x01) ) { |
321 | short old_rdtodo; | 321 | short old_rdtodo; |
322 | int result; | ||
323 | 322 | ||
324 | /* This is a announcement of coming bulk_ins. */ | 323 | /* This is a announcement of coming bulk_ins. */ |
325 | unsigned short size = ((unsigned short)data[3]<<8)+data[2]+3; | 324 | unsigned short size = ((unsigned short)data[3]<<8)+data[2]+3; |