[media] lirc_dev: stray unlock in lirc_dev_fop_poll()

We shouldn't unlock here. I think this was a cut and paste error.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by Dan Carpenter and committed by Mauro Carvalho Chehab 5c769a68 635f76b2

+1 -3
+1 -3
drivers/media/IR/lirc_dev.c
··· 522 523 dev_dbg(ir->d.dev, LOGHEAD "poll called\n", ir->d.name, ir->d.minor); 524 525 - if (!ir->attached) { 526 - mutex_unlock(&ir->irctl_lock); 527 return POLLERR; 528 - } 529 530 poll_wait(file, &ir->buf->wait_poll, wait); 531
··· 522 523 dev_dbg(ir->d.dev, LOGHEAD "poll called\n", ir->d.name, ir->d.minor); 524 525 + if (!ir->attached) 526 return POLLERR; 527 528 poll_wait(file, &ir->buf->wait_poll, wait); 529