]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[media] lirc_zilog: Fix a warning
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 Dec 2010 14:47:17 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:13 +0000 (08:17 -0200)
drivers/staging/lirc/lirc_zilog.c: In function ‘send_code’:
drivers/staging/lirc/lirc_zilog.c:886:1: warning: label ‘done’ defined but not used

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/lirc/lirc_zilog.c

index f0076eb025f1a0e9d412080caab87f627dda4970..52be6de042adf47e5aa8ae08ab33ad0ed81f5093 100644 (file)
@@ -883,7 +883,6 @@ static int send_code(struct IR *ir, unsigned int code, unsigned int key)
                return -EFAULT;
        }
 
-done:
        /* Oh good, it worked */
        dprintk("sent code %u, key %u\n", code, key);
        return 0;