Searched hist:"0 ec694d6718a9fab0f49a280557feb257c9d7843" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/media/rc/ |
H A D | ite-cir.h | diff 0ec694d6718a9fab0f49a280557feb257c9d7843 Mon Feb 22 14:46:42 CET 2021 Sean Young <sean@mess.org> media: ite-cir: in_use is not needed
The in_use variable is set to true when a lirc file is opened, and ir transmit can only be done by writing to a lirc file descriptor. As a result when in_use is read, it is always true, so we might as well remove it.
Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
H A D | ite-cir.c | diff 0ec694d6718a9fab0f49a280557feb257c9d7843 Mon Feb 22 14:46:42 CET 2021 Sean Young <sean@mess.org> media: ite-cir: in_use is not needed
The in_use variable is set to true when a lirc file is opened, and ir transmit can only be done by writing to a lirc file descriptor. As a result when in_use is read, it is always true, so we might as well remove it.
Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|