commit | 77d381af73e905c48b992d5d8426376469bc9576 | [log] [tgz] |
---|---|---|
author | Martin Kaiser <martin@kaiser.cx> | Tue Oct 28 18:51:01 2014 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Mon Nov 03 12:53:05 2014 -0200 |
tree | f957c84c6f10aed179e201ea1234e64825fd8e05 | |
parent | 373145282ea61c2a01980914ee5bbff7cf62afd6 [diff] |
[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>