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>
This commit is contained in:
parent
f0fbd5b9ba
commit
7b62cc8668
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue