[media] lirc: use kfifo_initialized() on lirc_buffer's fifo
authorMartin Kaiser <martin@kaiser.cx>
Tue, 28 Oct 2014 21:51:01 +0000 (18:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 14:53:05 +0000 (12:53 -0200)
We can use kfifo_initialized() to check if the fifo in lirc_buffer is
initialized or not. There's no need to have a dedicated fifo status
variable in lirc_buffer.

[m.chehab@samsung.com: add the same change to lirc_zilog, to avoid
 breaking compilation of staging drivers]
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

No differences found