OSDN Git Service

[media] dib0700: remove unused variable
authorFlorian Mickler <florian@mickler.org>
Sun, 3 Apr 2011 17:23:43 +0000 (14:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:27:52 +0000 (09:27 -0300)
This variable is never used.

Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_core.c

index 0325825..5eb91b4 100644 (file)
@@ -609,7 +609,6 @@ struct dib0700_rc_response {
 static void dib0700_rc_urb_completion(struct urb *purb)
 {
        struct dvb_usb_device *d = purb->context;
-       struct dib0700_state *st;
        struct dib0700_rc_response *poll_reply;
        u32 uninitialized_var(keycode);
        u8 toggle;
@@ -624,7 +623,6 @@ static void dib0700_rc_urb_completion(struct urb *purb)
                return;
        }
 
-       st = d->priv;
        poll_reply = purb->transfer_buffer;
 
        if (purb->status < 0) {