forked from mirror/openwrt
Fixes this compile problem:
```
drivers/net/ethernet/ralink/esw_rt3050.c: In function 'rt3050_esw_init':
drivers/net/ethernet/ralink/esw_rt3050.c:1467:12: error: 'pdev' is used uninitialized [-Werror=uninitialized]
1467 | if (!pdev)
| ^
drivers/net/ethernet/ralink/esw_rt3050.c:1461:33: note: 'pdev' was declared here
1461 | struct platform_device *pdev;
| ^~~~
cc1: all warnings being treated as errors
```
Fixes:
|
||
|---|---|---|
| .. | ||
| esw_rt3050.c | ||
| esw_rt3050.h | ||
| ethtool.c | ||
| ethtool.h | ||
| gsw_mt7620.c | ||
| gsw_mt7620.h | ||
| Kconfig | ||
| Makefile | ||
| mdio.c | ||
| mdio.h | ||
| mdio_mt7620.c | ||
| mdio_rt2880.c | ||
| mdio_rt2880.h | ||
| mt7530.c | ||
| mt7530.h | ||
| mtk_eth_soc.c | ||
| mtk_eth_soc.h | ||
| soc_mt7620.c | ||
| soc_rt2880.c | ||
| soc_rt3050.c | ||
| soc_rt3883.c | ||