Skip to contentSkip to conversation

dib0700: remove unused macros

PATCH In review Luis de Bethencourt 1 participant 2 messages Feb 12, 2015 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dib0700: remove unused macros

Remove unused macros RC_REPEAT_DELAY and RC_REPEAT_DELAY_V1_20

---
 drivers/media/usb/dvb-usb/dib0700_core.c    | 3 ---
 drivers/media/usb/dvb-usb/dib0700_devices.c | 3 ---
 2 files changed, 6 deletions(-)
drivers/media/usb/dvb-usb/dib0700_core.c +0 -3
index 50856db..2b40393 100644
@@ -651,9 +651,6 @@ out:
 	return ret;
 }
 
-/* Number of keypresses to ignore before start repeating */
-#define RC_REPEAT_DELAY_V1_20 10
-
 /* This is the structure of the RC response packet starting in firmware 1.20 */
 struct dib0700_rc_response {
 	u8 report_id;
drivers/media/usb/dvb-usb/dib0700_devices.c +0 -3
index e1757b8..d7d55a2 100644
@@ -510,9 +510,6 @@ static int stk7700ph_tuner_attach(struct dvb_usb_adapter *adap)
 
 static u8 rc_request[] = { REQUEST_POLL_RC, 0 };
 
-/* Number of keypresses to ignore before start repeating */
-#define RC_REPEAT_DELAY 6
-
 /*
  * This function is used only when firmware is < 1.20 version. Newer
  * firmwares use bulk mode, with functions implemented at dib0700_core,
Signature · 1 line
2.1.0
#1 lore raw
Quoted 39 lines · Luis de Bethencourt

Remove unused macros RC_REPEAT_DELAY and RC_REPEAT_DELAY_V1_20

---
 drivers/media/usb/dvb-usb/dib0700_core.c    | 3 ---
 drivers/media/usb/dvb-usb/dib0700_devices.c | 3 ---
 2 files changed, 6 deletions(-)
drivers/media/usb/dvb-usb/dib0700_core.c +0 -3
index 50856db..2b40393 100644
@@ -651,9 +651,6 @@ out:
 	return ret;
 }
 
-/* Number of keypresses to ignore before start repeating */
-#define RC_REPEAT_DELAY_V1_20 10
-
 /* This is the structure of the RC response packet starting in firmware 1.20 */
 struct dib0700_rc_response {
 	u8 report_id;
drivers/media/usb/dvb-usb/dib0700_devices.c +0 -3
index e1757b8..d7d55a2 100644
@@ -510,9 +510,6 @@ static int stk7700ph_tuner_attach(struct dvb_usb_adapter *adap)
 
 static u8 rc_request[] = { REQUEST_POLL_RC, 0 };
 
-/* Number of keypresses to ignore before start repeating */
-#define RC_REPEAT_DELAY 6
-
 /*
  * This function is used only when firmware is < 1.20 version. Newer
  * firmwares use bulk mode, with functions implemented at dib0700_core,
Signature · 1 line
2.1.0

For some context, the only usage of macro RC_REPEAT_DELAY_V1_20 was removed in commit 72b393106bddc9f0a1ab502b4c8c5793a0441a30

And the last usage of macro RC_REPEAT_DELAY was removed in commit 72b393106bddc9f0a1ab502b4c8c5793a0441a30

Thanks,
Luis