summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2026-05-22 09:24:52 +0200
committerFelix Fietkau <nbd@nbd.name>2026-06-09 10:15:22 +0000
commit6b294950eaac246e6b0f42d74aa643ff36384c6e (patch)
tree0fb7461a8b78a2c2e4ae59e723532cc44eb50858 /tools/lib/python
parent729c83a3330c0a56662cd0d8e40db96d41c00a54 (diff)
wifi: mt76: mt7996: remove redundant pdev->bus check in probe
Drop the unnecessary pdev->bus NULL check in mt7996_pci_probe() since the pointer is already dereferenced earlier in mt76_pci_disable_aspm(), making the check dead code. Silences the related Smatch warning. Fixes: 377aa17d2aed ("wifi: mt76: mt7996: Add NPU offload support to MT7996 driver") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20260522-mt7996-pdev-bus-fix-v1-1-c91716484365@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions