From: Martin Kaiser Date: Tue, 28 Oct 2014 21:51:01 +0000 (-0300) Subject: [media] lirc: use kfifo_initialized() on lirc_buffer's fifo X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77d381af73e905c48b992d5d8426376469bc9576;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed