generic: 6.1: fix compilation warning for CONFIG_PROC_STRIPPED
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 6 Oct 2023 10:15:53 +0000 (12:15 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 6 Oct 2023 19:53:14 +0000 (21:53 +0200)
commitc951291df9941c70683cb1bbdb1c950724cc8b91
tree529f1bd016ff72b0a36ffb08921f67d3e9020d4b
parentcee7bfde3caa18a4ff6d942f0c83398243e86b30
generic: 6.1: fix compilation warning for CONFIG_PROC_STRIPPED

Fix compilation warning for CONFIG_PROC_STRIPPED for kernel 6.1.

Fix compilation warning:
make[4]: Leaving directory '/__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-ath79_tiny/linux-6.1.55'
net/ipv4/inet_timewait_sock.c: In function '__inet_twsk_schedule':
net/ipv4/inet_timewait_sock.c:272:22: error: unused variable 'kill' [-Werror=unused-variable]
  272 |                 bool kill = timeo <= 4*HZ;
      |                      ^~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/hack-6.1/902-debloat_proc.patch