aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn533.c
diff options
context:
space:
mode:
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>2012-12-10 08:43:00 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2013-01-09 18:51:46 -0500
commit16f7541914e8bee0e76c510c4d8bc5ad8a5edf00 (patch)
treeb06dfdcce4a5ff59c05432fed6666148f19fc754 /drivers/nfc/pn533.c
parent0c33d2626d651f3f52d6a1e8b612e2830a4ab71f (diff)
NFC: pn533: Remove unused dev->wq_in_frame
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn533.c')
-rw-r--r--drivers/nfc/pn533.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index db13cd798149..58f7f2cc6ae9 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -335,7 +335,6 @@ struct pn533 {
335 struct work_struct mi_work; 335 struct work_struct mi_work;
336 struct work_struct tg_work; 336 struct work_struct tg_work;
337 struct timer_list listen_timer; 337 struct timer_list listen_timer;
338 struct pn533_frame *wq_in_frame;
339 int wq_in_error; 338 int wq_in_error;
340 int cancel_listen; 339 int cancel_listen;
341 340
@@ -467,8 +466,6 @@ static void pn533_recv_response(struct urb *urb)
467 struct pn533 *dev = urb->context; 466 struct pn533 *dev = urb->context;
468 struct pn533_frame *in_frame; 467 struct pn533_frame *in_frame;
469 468
470 dev->wq_in_frame = NULL;
471
472 switch (urb->status) { 469 switch (urb->status) {
473 case 0: 470 case 0:
474 break; /* success */ 471 break; /* success */
@@ -508,7 +505,6 @@ static void pn533_recv_response(struct urb *urb)
508 } 505 }
509 506
510 dev->wq_in_error = 0; 507 dev->wq_in_error = 0;
511 dev->wq_in_frame = in_frame;
512 508
513sched_wq: 509sched_wq:
514 queue_work(dev->wq, &dev->cmd_complete_work); 510 queue_work(dev->wq, &dev->cmd_complete_work);
@@ -565,7 +561,6 @@ static void pn533_recv_ack(struct urb *urb)
565 return; 561 return;
566 562
567sched_wq: 563sched_wq:
568 dev->wq_in_frame = NULL;
569 queue_work(dev->wq, &dev->cmd_complete_work); 564 queue_work(dev->wq, &dev->cmd_complete_work);
570} 565}
571 566