media: saa7146: remove unused dump_registers() debug helper
Subsystems (2)
PATCH 1/1 media: saa7146: remove unused dump_registers() debug helper
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]>
--- drivers/media/common/saa7146/saa7146_core.c | 11 ----------- 1 file changed, 11 deletions(-)
drivers/media/common/saa7146/saa7146_core.c +0 -11
@@ -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
Signature · 1 line
2.53.0