[PATCH] media: technisat-usb2: remove unused EEPROM dump debug helper

From: Zain Aboobacker

Date: Sat Sep 26 2026 - 12:25:39 EST


technisat_usb2_eeprom_dump() is compiled out with #if 0 and has no
callers. Remove the dead code.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Zain Aboobacker <zainaboobacker33@xxxxxxxxx>
---
drivers/media/usb/dvb-usb/technisat-usb2.c | 21 ---------------------
1 file changed, 21 deletions(-)

diff --git a/drivers/media/usb/dvb-usb/technisat-usb2.c b/drivers/media/usb/dvb-usb/technisat-usb2.c
index 1e43aab2bc27..16bf3c99ddfc 100644
--- a/drivers/media/usb/dvb-usb/technisat-usb2.c
+++ b/drivers/media/usb/dvb-usb/technisat-usb2.c
@@ -384,27 +384,6 @@ static int technisat_usb2_power_ctrl(struct dvb_usb_device *d, int level)
}

/* mac address reading - from the eeprom */
-#if 0
-static void technisat_usb2_eeprom_dump(struct dvb_usb_device *d)
-{
- u8 reg;
- u8 b[16];
- int i, j;
-
- /* full EEPROM dump */
- for (j = 0; j < 256 * 4; j += 16) {
- reg = j;
- if (technisat_usb2_i2c_access(d->udev, 0x50 + j / 256, &reg, 1, b, 16) != 0)
- break;
-
- deb_eeprom("EEPROM: %01x%02x: ", j / 256, reg);
- for (i = 0; i < 16; i++)
- deb_eeprom("%02x ", b[i]);
- deb_eeprom("\n");
- }
-}
-#endif
-
static u8 technisat_usb2_calc_lrc(const u8 *b, u16 length)
{
u8 lrc = 0;
--
2.53.0