From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> In commit 65a9383389db ("net: dsa: microchip: fix initial port flush problem"), the build warning of an unused variable showed up. Fix this by removing the variable entirely. Fixes: 65a9383389db ("net: dsa: microchip: fix initial port flush problem") Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/net/dsa/microchip/ksz9477.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/net/dsa/microchip/ksz9477.c +++ b/drivers/net/dsa/microchip/ksz9477.c @@ -195,7 +195,6 @@ static int ksz9477_wait_alu_sta_ready(st static int ksz9477_reset_switch(struct ksz_device *dev) { - u8 data8; u32 data32; /* reset switch */ Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are queue-5.10/btrfs-fix-a-null-pointer-dereference-when-failed-to-start-a-new-trasacntion.patch queue-5.10/ext4-update-orig_path-in-ext4_find_extent.patch queue-5.10/asoc-meson-axg-card-fix-use-after-free.patch queue-5.10/media-uapi-linux-cec.h-cec_msg_set_reply_to-zero-flags.patch queue-5.10/nouveau-dmem-fix-vulnerability-in-migrate_to_ram-upon-copy-error.patch queue-5.10/ocfs2-fix-the-la-space-leak-when-unmounting-an-ocfs2-volume.patch queue-5.10/spi-lpspi-simplify-some-error-message.patch queue-5.10/ext4-fix-incorrect-tid-assumption-in-__jbd2_log_wait_for_space.patch queue-5.10/input-goodix-use-the-new-soc_intel_is_byt-helper.patch queue-5.10/perf-x86-intel-pt-fix-sampling-synchronization.patch queue-5.10/usb-xhci-fix-problem-with-xhci-resume-from-suspend.patch queue-5.10/ksz9477c.patch queue-5.10/crypto-ccp-properly-unregister-dev-sev-on-sev-platform_status-failure.patch queue-5.10/ext4-propagate-errors-from-ext4_find_extent-in-ext4_insert_range.patch queue-5.10/acpi-resource-add-another-dmi-match-for-the-tongfang-gmxxgxx.patch queue-5.10/ext4-fix-double-brelse-the-buffer-of-the-extents-path.patch queue-5.10/usb-storage-ignore-bogus-device-raised-by-jieli-br21-usb-sound-chip.patch queue-5.10/revert-usb-yurex-replace-snprintf-with-the-safer-scnprintf-variant.patch queue-5.10/ext4-fix-warning-in-ext4_dio_write_end_io.patch queue-5.10/usb-usbtmc-prevent-kernel-usb-infoleak.patch queue-5.10/usb-dwc2-adjust-the-timing-of-usb-driver-interrupt-r.patch queue-5.10/soc-versatile-integrator-fix-of-node-leak-in-probe-error-path.patch queue-5.10/drbd-fix-atomicity-violation-in-drbd_uuid_set_bm.patch queue-5.10/efistub-tpm-use-acpi-reclaim-memory-for-event-log-to-avoid-corruption.patch queue-5.10/f2fs-prevent-possible-int-overflow-in-dir_block_index.patch queue-5.10/riscv-define-illegal_pointer_value-for-64bit.patch queue-5.10/clk-rockchip-fix-error-for-unknown-clocks.patch queue-5.10/ext4-no-need-to-continue-when-the-number-of-entries-is-1.patch queue-5.10/arm64-dts-rockchip-raise-pinebook-pro-s-panel-backlight-pwm-frequency.patch queue-5.10/ocfs2-cancel-dqi_sync_work-before-freeing-oinfo.patch queue-5.10/xhci-set-quirky-xhc-pci-hosts-to-d3-_after_-stopping.patch queue-5.10/parisc-fix-itlb-miss-handler-for-64-bit-programs.patch queue-5.10/alsa-hda-realtek-add-quirk-for-huawei-matebook-13-klv-wx9.patch queue-5.10/rtc-at91sam9-fix-of-node-leak-in-probe-error-path.patch queue-5.10/i2c-aspeed-update-the-stop-sw-state-when-the-bus-recovery-occurs.patch queue-5.10/net-vrf-determine-the-dst-using-the-original-ifindex-for-multicast.patch queue-5.10/tomoyo-fallback-to-realpath-if-symlink-s-pathname-does-not-exist.patch queue-5.10/arm64-dts-rockchip-correct-the-pinebook-pro-battery-design-capacity.patch queue-5.10/perf-core-fix-small-negative-period-being-ignored.patch queue-5.10/fs-fix-file_set_fowner-lsm-hook-inconsistencies.patch queue-5.10/net-dsa-lan9303-ensure-chip-reset-and-wait-for-ready-status.patch queue-5.10/drm-omapdrm-add-missing-check-for-alloc_ordered_workqueue.patch queue-5.10/bus-integrator-lm-fix-of-node-leak-in-probe.patch queue-5.10/media-sun4i_csi-implement-link-validate-for-sun4i_csi-subdev.patch queue-5.10/netfilter-ip6t_rpfilter-fix-regression-with-vrf-interfaces.patch queue-5.10/spi-nxp-fspi-fix-the-kasan-report-out-of-bounds-bug.patch queue-5.10/aoe-fix-the-potential-use-after-free-problem-in-more-places.patch queue-5.10/acpi-resource-add-asus-vivobook-x1704vap-to-irq1_level_low_skip_override.patch queue-5.10/nfs-fix-memory-leak-in-error-path-of-nfs4_do_reclaim.patch queue-5.10/netfilter-nft_set_pipapo-walk-over-current-view-on-netlink-dump.patch queue-5.10/firmware-tegra-bpmp-drop-unused-mbox_client_to_bpmp.patch queue-5.10/xz-cleanup-crc32-edits-from-2018.patch queue-5.10/input-adp5589-keys-fix-adp5589_gpio_get_value.patch queue-5.10/f2fs-avoid-potential-int-overflow-in-sanity_check_area_boundary.patch queue-5.10/usb-dwc3-core-update-lc-timer-as-per-usb-spec-v3.2.patch queue-5.10/ext4-drop-ppath-from-ext4_ext_replay_update_ex-to-avoid-double-free.patch queue-5.10/rdma-hns-fix-uninitialized-variable.patch queue-5.10/arm64-dts-rockchip-override-bios_disable-signal-via-gpio-hog-on-rk3399-puma.patch queue-5.10/alsa-line6-add-hw-monitor-volume-control-to-pod-hd500x.patch queue-5.10/mptcp-export-lookup_anno_list_by_saddr.patch queue-5.10/acpi-resource-add-asus-expertbook-b2502cva-to-irq1_level_low_skip_override.patch queue-5.10/ocfs2-reserve-space-for-inline-xattr-before-attaching-reflink-tree.patch queue-5.10/usb-dwc3-core-stop-processing-of-pending-events-if-controller-is-halted.patch queue-5.10/hwrng-cctrng-add-missing-clk_disable_unprepare-in-cctrng_resume.patch queue-5.10/ext4-fix-slab-use-after-free-in-ext4_split_extent_at.patch queue-5.10/gpiolib-cdev-ignore-reconfiguration-without-direction.patch queue-5.10/clk-qcom-clk-rpmh-fix-overflow-in-bcm-vote.patch queue-5.10/net-stmmac-fix-zero-division-error-when-disabling-tc-cbs.patch queue-5.10/device-property-add-const-qualifier-to-device_get_match_data-parameter.patch queue-5.10/bpf-fix-devmap_hash-overflow-check-on-32-bit-arches.patch queue-5.10/unicode-don-t-special-case-ignorable-code-points.patch queue-5.10/revert-bpf-eliminate-rlimit-based-memory-accounting-for-devmap-maps.patch queue-5.10/wifi-rtw88-8822c-fix-reported-rx-band-width.patch queue-5.10/ext4-aovid-use-after-free-in-ext4_ext_insert_extent.patch queue-5.10/nfsd-fix-nfsv4-s-putpubfh-operation.patch queue-5.10/inet-inet_defrag-prevent-sk-release-while-still-in-use.patch queue-5.10/usb-serial-pl2303-add-device-id-for-macrosilicon-ms3020.patch queue-5.10/netfilter-nf_tables-missing-iterator-type-in-lookup-walk.patch queue-5.10/ext4-fix-inode-tree-inconsistency-caused-by-enomem.patch queue-5.10/net-seg6-fix-seg6_lookup_any_nexthop-to-handle-vrfs-using-flowi_l3mdev.patch queue-5.10/mptcp-validate-id-when-stopping-the-add_addr-retransmit-timer.patch queue-5.10/ocfs2-fix-possible-null-ptr-deref-in-ocfs2_set_buffer_uptodate.patch queue-5.10/input-i8042-add-tuxedo-stellaris-16-gen5-amd-to-i8042-quirk-table.patch queue-5.10/i2c-qcom-geni-use-irqf_no_autoen-flag-in-request_irq.patch queue-5.10/mm-only-enforce-minimum-stack-gap-size-if-it-s-sensible.patch queue-5.10/clk-qcom-gcc-sm8250-do-not-turn-off-pcie-gdscs-during-gdsc_disable.patch queue-5.10/net-handle-l3mdev-in-ip_tunnel_init_flow.patch queue-5.10/input-i8042-add-another-board-name-for-tuxedo-stellaris-gen5-amd-line.patch queue-5.10/usb-dwc3-decouple-usb-2.0-l1-l2-events.patch queue-5.10/drm-amd-display-fix-synaptics-cascaded-panamera-dsc-determination.patch queue-5.10/soundwire-stream-revert-soundwire-stream-fix-programming-slave-ports-for-non-continous-port-maps.patch queue-5.10/usb-appledisplay-close-race-between-probe-and-completion-handler.patch queue-5.10/nfsd-map-the-ebadmsg-to-nfserr_io-to-avoid-warning.patch queue-5.10/ext4-fix-incorrect-tid-assumption-in-ext4_wait_for_tail_page_commit.patch queue-5.10/tty-rp2-fix-reset-with-non-forgiving-pcie-host-bridges.patch queue-5.10/usb-chipidea-udc-enable-suspend-interrupt-after-usb-.patch queue-5.10/usb-class-cdc-acm-fix-race-between-get_serial-and-set_serial.patch queue-5.10/net-geneve-add-missing-netlink-policy-and-size-for-ifla_geneve_inner_proto_inherit.patch queue-5.10/pps-remove-usage-of-the-deprecated-ida_simple_xx-api.patch queue-5.10/selinux-smack-don-t-bypass-permissions-check-in-inode_setsecctx-hook.patch queue-5.10/spi-bcm63xx-fix-module-autoloading.patch queue-5.10/ocfs2-fix-uninit-value-in-ocfs2_get_block.patch queue-5.10/x86-mm-switch-to-new-intel-cpu-model-defines.patch queue-5.10/rdma-rxe-fix-seg-fault-in-rxe_comp_queue_pkt.patch queue-5.10/lockdep-fix-deadlock-issue-between-lockdep-and-rcu.patch queue-5.10/net-fix-an-unsafe-loop-on-the-list.patch queue-5.10/exfat-fix-memory-leak-in-exfat_load_bitmap.patch queue-5.10/usb-misc-cypress_cy7c63-check-for-short-transfer.patch queue-5.10/btrfs-wait-for-fixup-workers-before-stopping-cleaner-kthread-during-umount.patch queue-5.10/vfs-fix-race-between-evice_inodes-and-find_inode-iput.patch queue-5.10/debugobjects-fix-conditions-in-fill_pool.patch queue-5.10/nfsd-fix-delegation_blocked-to-block-correctly-for-at-least-30-seconds.patch queue-5.10/usb-dwc3-core-enable-guctl1-bit-10-for-fixing-termin.patch queue-5.10/cgroup-move-rcu_head-up-near-the-top-of-cgroup_root.patch queue-5.10/kallsyms-make-module_kallsyms_on_each_symbol-general.patch queue-5.10/i2c-isch-add-missed-else.patch queue-5.10/revert-bpf-fix-devmap_hash-overflow-check-on-32-bit-arches.patch queue-5.10/i2c-stm32f7-do-not-prepare-unprepare-clock-during-runtime-suspend-resume.patch queue-5.10/iio-magnetometer-ak8975-fix-reading-for-ak099xx-sensors.patch queue-5.10/jbd2-stop-waiting-for-space-when-jbd2_cleanup_journal_tail-returns-error.patch queue-5.10/alsa-core-add-isascii-check-to-card-id-generator.patch queue-5.10/jbd2-correctly-compare-tids-with-tid_geq-function-in-jbd2_fc_begin_commit.patch queue-5.10/remove-.orig-pattern-from-.gitignore.patch queue-5.10/ocfs2-fix-null-ptr-deref-when-journal-load-failed.patch queue-5.10/hwrng-mtk-use-devm_pm_runtime_enable.patch queue-5.10/drm-amd-display-round-calculated-vtotal.patch queue-5.10/vhost-scsi-null-ptr-dereference-in-vhost_scsi_get_req.patch queue-5.10/acpi-sysfs-validate-return-type-of-_str-method.patch queue-5.10/gpio-prevent-potential-speculation-leaks-in-gpio_device_get_desc.patch queue-5.10/powercap-rapl-fix-invalid-initialization-for-pl4_supported-field.patch queue-5.10/usb-misc-yurex-fix-race-between-read-and-write.patch queue-5.10/asoc-rt5682-return-devm_of_clk_add_hw_provider-to-transfer-the-error.patch queue-5.10/tracing-kprobes-fix-symbol-counting-logic-by-looking.patch queue-5.10/ocfs2-remove-unreasonable-unlock-in-ocfs2_read_blocks.patch queue-5.10/hid-plantronics-workaround-for-an-unexcepted-opposite-volume-key.patch queue-5.10/usb-yurex-replace-snprintf-with-the-safer-scnprintf-.patch queue-5.10/usb-renesas-xhci-remove-renesas_xhci_pci_exit.patch queue-5.10/mptcp-fix-sometimes-uninitialized-warning.patch queue-5.10/firmware_loader-block-path-traversal.patch queue-5.10/driver-core-bus-return-eio-instead-of-0-when-show-st.patch queue-5.10/input-i8042-add-tuxedo-stellaris-15-slim-gen6-amd-to-i8042-quirk-table.patch queue-5.10/tracing-kprobes-return-eaddrnotavail-when-func-match.patch queue-5.10/xfrm-pass-flowi_oif-or-l3mdev-as-oif-to-xfrm_dst_lookup.patch queue-5.10/usb-yurex-fix-inconsistent-locking-bug-in-yurex_read.patch queue-5.10/i2c-xiic-wait-for-tx-empty-to-avoid-missed-tx-naks.patch queue-5.10/hid-intel-ish-hid-fix-uninitialized-variable-rv-in-ish_fw_xfer_direct_dma.patch queue-5.10/gpio-davinci-fix-lazy-disable.patch queue-5.10/parisc-fix-stack-start-for-addr_no_randomize-personality.patch queue-5.10/dma-buf-heaps-fix-off-by-one-in-cma-heap-fault-handler.patch queue-5.10/media-venus-fix-use-after-free-bug-in-venus_remove-due-to-race-condition.patch queue-5.10/usb-dwc3-fix-a-typo-in-field-name.patch queue-5.10/ftrace-fix-possible-use-after-free-issue-in-ftrace_location.patch queue-5.10/of-irq-support-msi-cells-0-in-of_msi_get_domain.patch queue-5.10/drbd-add-null-check-for-net_conf-to-prevent-dereference-in-state-validation.patch queue-5.10/mm-krealloc-consider-spare-memory-for-__gfp_zero.patch queue-5.10/drm-consistently-use-struct-drm_mode_rect-for-fb_damage_clips.patch queue-5.10/parisc-fix-64-bit-userspace-syscall-path.patch queue-5.10/pps-add-an-error-check-in-parport_attach.patch queue-5.10/mptcp-pm-fix-uaf-in-__timer_delete_sync.patch queue-5.10/x86-ibt-ftrace-search-for-__fentry__-location.patch queue-5.10/drm-sched-add-locking-to-drm_sched_entity_modify_sched.patch queue-5.10/padata-use-integer-wrap-around-to-prevent-deadlock-on-seq_nr-overflow.patch queue-5.10/minmax-reduce-min-max-macro-expansion-in-atomisp-driver.patch