kernel: ltq-ptm: fix compilation warning for vr9
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 14 May 2023 16:01:20 +0000 (18:01 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 14 May 2023 16:04:33 +0000 (18:04 +0200)
commit7ad1fa12efd99dd2a4e4ffa01365280f63e99e55
tree4060f9b55627167240beb83eebfac082308a073d
parenta24612cc0691c2f4780e25662a3c5f8a624420e0
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>
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c