NFC: pn533: Remove unused dev->wq_in_frame
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Mon, 10 Dec 2012 13:43:00 +0000 (14:43 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 9 Jan 2013 23:51:46 +0000 (00:51 +0100)
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c

index db13cd7981498981c6dd3151306086426a5555a4..58f7f2cc6ae90b44b238abcb46c272ab1417777b 100644 (file)
@@ -335,7 +335,6 @@ struct pn533 {
        struct work_struct mi_work;
        struct work_struct tg_work;
        struct timer_list listen_timer;
-       struct pn533_frame *wq_in_frame;
        int wq_in_error;
        int cancel_listen;
 
@@ -467,8 +466,6 @@ static void pn533_recv_response(struct urb *urb)
        struct pn533 *dev = urb->context;
        struct pn533_frame *in_frame;
 
-       dev->wq_in_frame = NULL;
-
        switch (urb->status) {
        case 0:
                break; /* success */
@@ -508,7 +505,6 @@ static void pn533_recv_response(struct urb *urb)
        }
 
        dev->wq_in_error = 0;
-       dev->wq_in_frame = in_frame;
 
 sched_wq:
        queue_work(dev->wq, &dev->cmd_complete_work);
@@ -565,7 +561,6 @@ static void pn533_recv_ack(struct urb *urb)
        return;
 
 sched_wq:
-       dev->wq_in_frame = NULL;
        queue_work(dev->wq, &dev->cmd_complete_work);
 }