[PATCH] atomisp: remove unused module parameter dbg_func

From: Melih Emik

Date: Mon May 11 2026 - 15:32:50 EST


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@xxxxxxxxxxx>
---
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