1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/package
Christian Marangi 4b1dc7d31a
kernel: gpio-nct5104d: drop unused variables in nct5104d_gpio_init
Drop unused variables in nct5104d_gpio_init. These variables should have
been dropped in d3b8e6b2a77d ("kernel: gpio-nct5104d remove boardname check").
Thix fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-x86_64-openwrt-linux-musl_musl/linux-x86_64/gpio-nct5104d/gpio-nct5104d.c: In function 'nct5104d_gpio_init':
/__w/openwrt/openwrt/openwrt/build_dir/target-x86_64-openwrt-linux-musl_musl/linux-x86_64/gpio-nct5104d/gpio-nct5104d.c:413:21: error: unused variable 'board_name' [-Werror=unused-variable]
  413 |         const char *board_name = dmi_get_system_info(DMI_BOARD_NAME);
      |                     ^~~~~~~~~~
/__w/openwrt/openwrt/openwrt/build_dir/target-x86_64-openwrt-linux-musl_musl/linux-x86_64/gpio-nct5104d/gpio-nct5104d.c:412:21: error: unused variable 'board_vendor' [-Werror=unused-variable]
  412 |         const char *board_vendor = dmi_get_system_info(DMI_BOARD_VENDOR);
      |                     ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixes: d3b8e6b2a77d ("kernel: gpio-nct5104d remove boardname check")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:35 +02:00
..
base-files base-files: Do not break on non-eth ports 2023-05-09 22:54:38 +02:00
boot ramips: add support for Linksys RE7000 2023-05-09 11:52:53 +02:00
devel gperf: add from packages feed 2023-05-04 06:07:29 +02:00
firmware ls-rcw: Add ls1028ardb support 2023-05-07 14:50:50 +02:00
kernel kernel: gpio-nct5104d: drop unused variables in nct5104d_gpio_init 2023-05-12 03:15:35 +02:00
libs gettext-full: bootstrap to local gnulib source 2023-05-04 06:07:31 +02:00
network umbim: allow forcing DHCP/DHCPv6 configuration 2023-05-07 14:36:58 +02:00
system treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
utils busybox: turn on BUSYBOX_DEFAULT_ASH_RANDOM_SUPPORT for having $RANDOM 2023-04-25 22:01:20 +02:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00