On Sat Sep 26 12:24:45 2026 -0400, Zain Aboobacker wrote:
> dump_registers() 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 <[email protected]>
> Signed-off-by: Hans Verkuil <[email protected]>

Patch committed.

Thanks,
Hans Verkuil

 drivers/media/common/saa7146/saa7146_core.c | 11 -----------
 1 file changed, 11 deletions(-)

---

diff --git a/drivers/media/common/saa7146/saa7146_core.c 
b/drivers/media/common/saa7146/saa7146_core.c
index b705c4bcaffa..92b5be153613 100644
--- a/drivers/media/common/saa7146/saa7146_core.c
+++ b/drivers/media/common/saa7146/saa7146_core.c
@@ -18,17 +18,6 @@ unsigned int saa7146_debug;
 module_param(saa7146_debug, uint, 0644);
 MODULE_PARM_DESC(saa7146_debug, "debug level (default: 0)");
 
-#if 0
-static void dump_registers(struct saa7146_dev* dev)
-{
-       int i = 0;
-
-       pr_info(" @ %li jiffies:\n", jiffies);
-       for (i = 0; i <= 0x148; i += 4)
-               pr_info("0x%03x: 0x%08x\n", i, saa7146_read(dev, i));
-}
-#endif
-
 /****************************************************************************
  * gpio and debi helper functions
  ****************************************************************************/
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to