mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-10 06:58:02 +00:00
Smatch reports that: drivers/net/wireless/mediatek/mt7601u/debugfs.c:130 mt7601u_init_debugfs() warn: 'dir' is an error pointer or valid". Debugfs code is not supposed to need error checking so instead of changing this to if (IS_ERR()) the correct thing is to just delete the dead code. Signed-off-by: Wang Jikai <wangjikai@hust.edu.cn> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230421092200.24456-1-wangjikai@hust.edu.cn |
||
|---|---|---|
| .. | ||
| core.c | ||
| debugfs.c | ||
| dma.c | ||
| dma.h | ||
| eeprom.c | ||
| eeprom.h | ||
| init.c | ||
| initvals_phy.h | ||
| initvals.h | ||
| Kconfig | ||
| mac.c | ||
| mac.h | ||
| main.c | ||
| Makefile | ||
| mcu.c | ||
| mcu.h | ||
| mt7601u.h | ||
| phy.c | ||
| regs.h | ||
| trace.c | ||
| trace.h | ||
| tx.c | ||
| usb.c | ||
| usb.h | ||
| util.c | ||