Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7b62cc86689e721f0aae87e88cb04ca841cf6c38
Commit:     7b62cc86689e721f0aae87e88cb04ca841cf6c38
Parent:     f0fbd5b9ba893b965b2892c1971e3433092b98c7
Author:     Andre Haupt <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 20 11:41:37 2007 +0100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:34:51 2008 -0800

    USB: cyberjack: remove a unnecessary variable.
    
    This also fixes a sparse warning that symbol 'result' shadows an earlier 
one.
    
    Signed-off-by: Andre Haupt <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 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 4353df9..8d9b045 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to