aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-23 16:44:42 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-11 17:59:56 +0200
commit6b3a422b7364334543944edef73b2e6e28a77795 (patch)
treec1ac8d64b65da140119567e315a4d2d6f6a4f55e
parent2a693c3e186c6651ce8980c777a5ba87179c93a7 (diff)
downloadlinux-6b3a422b7364334543944edef73b2e6e28a77795.tar.gz
media: atomisp: get rid of some old broken debug code
It sounds that someone once changed the debug level at compile time for some testing, but forgot to remove the legacy code after finishing debuging it. Get rid of the dead code. Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--drivers/staging/media/atomisp/pci/atomisp_cmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index ddf6915276c041..365e3e90b78152 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -1503,11 +1503,8 @@ void atomisp_wdt_work(struct work_struct *work)
}
if (css_recover) {
- unsigned int old_dbglevel = dbg_level;
-
atomisp_css_debug_dump_sp_sw_debug_info();
atomisp_css_debug_dump_debug_info(__func__);
- dbg_level = old_dbglevel;
for (i = 0; i < isp->num_of_streams; i++) {
struct atomisp_sub_device *asd = &isp->asd[i];