diff mbox series

media: lirc: remove unused feature LIRC_CAN_SET_REC_DUTY_CYCLE

Message ID 20220209162225.632209-1-sean@mess.org (mailing list archive)
State New, archived
Headers show
Series media: lirc: remove unused feature LIRC_CAN_SET_REC_DUTY_CYCLE | expand

Commit Message

Sean Young Feb. 9, 2022, 4:22 p.m. UTC
There is no hardware which can filter input on the duty cycle, so no
driver implements this. On top of that, LIRC_CAN_SET_REC_DUTY_CYCLE
has the same value as LIRC_CAN_MEASURE_CARRIER (0x02000000).

Signed-off-by: Sean Young <sean@mess.org>
---
 include/uapi/linux/lirc.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/include/uapi/linux/lirc.h b/include/uapi/linux/lirc.h
index 21c69a6a100db..23b0f2c8ba81e 100644
--- a/include/uapi/linux/lirc.h
+++ b/include/uapi/linux/lirc.h
@@ -73,7 +73,6 @@ 
 #define LIRC_CAN_REC_MASK              LIRC_MODE2REC(LIRC_CAN_SEND_MASK)
 
 #define LIRC_CAN_SET_REC_CARRIER       (LIRC_CAN_SET_SEND_CARRIER << 16)
-#define LIRC_CAN_SET_REC_DUTY_CYCLE    (LIRC_CAN_SET_SEND_DUTY_CYCLE << 16)
 
 #define LIRC_CAN_SET_REC_CARRIER_RANGE    0x80000000
 #define LIRC_CAN_GET_REC_RESOLUTION       0x20000000