* [PATCH] media: saa7146: remove unused dump_registers() debug helper
@ 2026-09-26 16:24 Zain Aboobacker
0 siblings, 0 replies; only message in thread
From: Zain Aboobacker @ 2026-09-26 16:24 UTC (permalink / raw)
To: Hans Verkuil, Mauro Carvalho Chehab; +Cc: linux-media, linux-kernel
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 <zainaboobacker33@gmail.com>
---
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
****************************************************************************/
base-commit: f5f84daefcd92d7a630066635ecea1433ed5eac7
--
2.53.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-26 16:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 16:24 [PATCH] media: saa7146: remove unused dump_registers() debug helper Zain Aboobacker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®