Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH] atomisp: remove unused module parameter dbg_func
@ 2026-05-11 19:32 Melih Emik
  2026-05-12  4:26 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Melih Emik @ 2026-05-11 19:32 UTC (permalink / raw)
  To: Hans de Goede, Mauro Carvalho Chehab, Greg Kroah-Hartman
  Cc: Sakari Ailus, Andy Shevchenko, linux-media, linux-staging,
	linux-kernel, Melih Emik

atomisp_v4l2.c declared dbg_func as a module parameter to expose the
CSS debug print switch at module load time.

dbg_func remains as internal state for the CSS print environment, but
no code depends on the module parameter registration. After this removal,
git grep only finds the internal variable users and no module_param() or
MODULE_PARM_DESC() entry for dbg_func.

Remove the obsolete parameter while leaving the existing default debug
print state unchanged.

Signed-off-by: Melih Emik <melihemik@noirlang.tr>
---
 drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
index 900a67552d6a..2d19582ee7c5 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
@@ -50,9 +50,6 @@ MODULE_PARM_DESC(dbg_level, "debug message level (default:0)");
 
 /* log function switch */
 int dbg_func = 1;
-module_param(dbg_func, int, 0644);
-MODULE_PARM_DESC(dbg_func,
-		 "log function switch non/printk (default:printk)");
 
 /*
  * Set to 16x16 since this is the amount of lines and pixels the sensor
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-12 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 19:32 [PATCH] atomisp: remove unused module parameter dbg_func Melih Emik
2026-05-12  4:26 ` Andy Shevchenko
2026-05-12 18:09   ` [PATCH v2] atomisp: replace dbg_func parameter with dynamic debug Melih Emik
2026-05-12 19:12     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox