Skip to content

Commit

Permalink
NFC: pn533: Remove unused dev->wq_in_frame
Browse files Browse the repository at this point in the history
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Waldemar Rymarkiewicz authored and Samuel Ortiz committed Jan 9, 2013
1 parent 0c33d26 commit 16f7541
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/nfc/pn533.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 16f7541

Please sign in to comment.