summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2024-06-30 22:33:44 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-07-31 11:21:56 +0200
commitba5c778cab1dd3e4918f940989e771e2818afee8 (patch)
tree380f7ce3fa4964105bdd8f5222e64b715a23fba9 /include/media
parent512d1899b8968cde259ab9b9980fa51df1394128 (diff)
media: rc: remove unused tx_resolution field
The tx_resolution field is never read. In theory you can imagine this field being useful for detecting whether the transmitter has the resolution for the message you are trying to send, but I am not aware of any hardware where this could be an issue. Just remove. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/rc-core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index 803349599c27..d095908073ef 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -127,7 +127,6 @@ struct lirc_fh {
* @min_timeout: minimum timeout supported by device
* @max_timeout: maximum timeout supported by device
* @rx_resolution : resolution (in us) of input sampler
- * @tx_resolution: resolution (in us) of output sampler
* @lirc_dev: lirc device
* @lirc_cdev: lirc char cdev
* @gap_start: start time for gap after timeout if non-zero
@@ -194,7 +193,6 @@ struct rc_dev {
u32 min_timeout;
u32 max_timeout;
u32 rx_resolution;
- u32 tx_resolution;
#ifdef CONFIG_LIRC
struct device lirc_dev;
struct cdev lirc_cdev;