diff options
author | David Härdeman <david@hardeman.nu> | 2017-06-25 08:31:30 -0400 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2018-12-10 20:36:23 +0800 |
commit | 77425ec5d06e60a0d9427a2a850af2c8d249a954 (patch) | |
tree | 32d85f25bf6bfdf7ec71b0d6a06c5d9c08b48d80 /include | |
parent | ea1de491d691bd4a2a85771fd39f411c0c6c143c (diff) |
UPSTREAM: media: lirc_dev: remove min_timeout and max_timeout
There are no users of this functionality (ir-lirc-codec.c has its own
implementation and lirc_zilog.c doesn't use it) so remove it.
This only affects users of the lirc kapi, not rc-core drivers.
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
(cherry picked from commit 2265425fd9c512cc9977516b5fe78d03ad9311a7)
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/lirc_dev.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/media/lirc_dev.h b/include/media/lirc_dev.h index f28d23d073c6..6e9f7778b041 100644 --- a/include/media/lirc_dev.h +++ b/include/media/lirc_dev.h @@ -132,10 +132,6 @@ static inline unsigned int lirc_buffer_write(struct lirc_buffer *buf, * @chunk_size: Size of each FIFO buffer. * Only used if @rbuf is NULL. * @data: private per-driver data - * @min_timeout: Minimum timeout for record. Valid only if - * LIRC_CAN_SET_REC_TIMEOUT is defined. - * @max_timeout: Maximum timeout for record. Valid only if - * LIRC_CAN_SET_REC_TIMEOUT is defined. * @buf: if %NULL, lirc_dev will allocate and manage the buffer, * otherwise allocated by the caller which will * have to write to the buffer by other means, like irq's @@ -162,8 +158,6 @@ struct lirc_dev { bool buf_internal; void *data; - int min_timeout; - int max_timeout; struct rc_dev *rdev; const struct file_operations *fops; struct module *owner; |