From: Andre Haupt Date: Tue, 20 Nov 2007 10:41:37 +0000 (+0100) Subject: USB: cyberjack: remove a unnecessary variable. X-Git-Tag: v2.6.25-rc1~1075^2~83 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7b62cc86689e721f0aae87e88cb04ca841cf6c38;p=linux-2.6-omap-h63xx.git USB: cyberjack: remove a unnecessary variable. This also fixes a sparse warning that symbol 'result' shadows an earlier one. Signed-off-by: Andre Haupt Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c index 4353df92487..8d9b045aa7e 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 ) /* 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;