summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2014-10-28 18:51:01 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-03 12:53:05 -0200
commit77d381af73e905c48b992d5d8426376469bc9576 (patch)
treef957c84c6f10aed179e201ea1234e64825fd8e05 /drivers/media/common
parent373145282ea61c2a01980914ee5bbff7cf62afd6 (diff)
downloadlinux-77d381af73e905c48b992d5d8426376469bc9576.tar.bz2
[media] lirc: use kfifo_initialized() on lirc_buffer's fifo
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>
Diffstat (limited to 'drivers/media/common')
0 files changed, 0 insertions, 0 deletions