[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20260120101339.5651-1-jun85566@gmail.com>
Date: Tue, 20 Jan 2026 19:13:39 +0900
From: Lee Yongjun <jun85566@...il.com>
To: mchehab@...nel.org
Cc: linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org,
hverkuil+cisco@...nel.org,
Lee Yongjun <jun85566@...il.com>
Subject: [PATCH] media: dvb-frontends: drx39xyj: Remove unused variable in drx39xxj_set_frontend
The variable 'i' in drx39xxj_set_frontend() is declared within a
DJH_DEBUG ifdef block but is never used.
Detected by Cppcheck static analysis:
drivers/media/dvb-frontends/drx39xyj/drxj.c:12068:6: style: Unused variable: i [unusedVariable]
Remove the unused variable and the surrounding ifdef block to clean up
the code.
Signed-off-by: Lee Yongjun <jun85566@...il.com>
---
drivers/media/dvb-frontends/drx39xyj/drxj.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index 428b31e60874..071561d5561c 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -12064,9 +12064,6 @@ static int drx39xxj_read_ucblocks(struct dvb_frontend *fe, u32 *ucb)
static int drx39xxj_set_frontend(struct dvb_frontend *fe)
{
-#ifdef DJH_DEBUG
- int i;
-#endif
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
struct drx39xxj_state *state = fe->demodulator_priv;
struct drx_demod_instance *demod = state->demod;
--
2.34.1
Powered by blists - more mailing lists