summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-14 18:01:20 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-14 18:04:33 +0200
commit7ad1fa12efd99dd2a4e4ffa01365280f63e99e55 (patch)
tree4060f9b55627167240beb83eebfac082308a073d
parenta24612cc0691c2f4780e25662a3c5f8a624420e0 (diff)
downloadopenwrt-7ad1fa12efd99dd2a4e4ffa01365280f63e99e55.tar.gz
openwrt-7ad1fa12efd99dd2a4e4ffa01365280f63e99e55.tar.bz2
openwrt-7ad1fa12efd99dd2a4e4ffa01365280f63e99e55.zip
kernel: ltq-ptm: fix compilation warning for vr9
Fix compilation warning for unused variable for vr9. Fix compilation warning: /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/ltq-ptm-vr9/ltq-ptm/ifxmips_ptm_vdsl.c: In function 'mailbox_irq_handler': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/ltq-ptm-vr9/ltq-ptm/ifxmips_ptm_vdsl.c:560:9: error: unused variable 'i' [-Werror=unused-variable] 560 | int i; | ^ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
index d751680853..1007e74cec 100644
--- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
+++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
@@ -557,7 +557,6 @@ static inline int get_tx_desc(unsigned int itf, unsigned int *f_full)
static irqreturn_t mailbox_irq_handler(int irq, void *dev_id)
{
unsigned int isr;
- int i;
isr = IFX_REG_R32(MBOX_IGU1_ISR);
IFX_REG_W32(isr, MBOX_IGU1_ISRC);