aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/nfc/pn533.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index 766e0bb5ae53..19110f0eb15f 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -394,9 +394,6 @@ static void pn533_wq_cmd_complete(struct work_struct *work)
394 struct pn533_frame *in_frame; 394 struct pn533_frame *in_frame;
395 int rc; 395 int rc;
396 396
397 if (dev == NULL)
398 return;
399
400 in_frame = dev->wq_in_frame; 397 in_frame = dev->wq_in_frame;
401 398
402 if (dev->wq_in_error) 399 if (dev->wq_in_error)