summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>2012-12-10 14:43:00 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-01-10 00:51:46 +0100
commit16f7541914e8bee0e76c510c4d8bc5ad8a5edf00 (patch)
treeb06dfdcce4a5ff59c05432fed6666148f19fc754 /drivers/nfc
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')
-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 {
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);
}