linux/drivers/net/ethernet/freescale
Arnd Bergmann 4560b2a3ec enetc: Fix unused var build warning for CONFIG_OF
When CONFIG_OF is disabled, there is a harmless warning about
an unused variable:

enetc_pf.c: In function 'enetc_phylink_create':
enetc_pf.c:981:17: error: unused variable 'dev' [-Werror=unused-variable]

Slightly rearrange the code to pass around the of_node as a
function argument, which avoids the problem without hurting
readability.

Fixes: 71b77a7a27 ("enetc: Migrate to PHYLINK and PCS_LYNX")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://lore.kernel.org/r/20201204120800.17193-1-claudiu.manoil@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-05 14:56:23 -08:00
..
dpaa dpaa_eth: fix build errorr in dpaa_fq_init 2020-12-04 10:23:02 -08:00
dpaa2 Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-12-04 07:48:12 -08:00
enetc enetc: Fix unused var build warning for CONFIG_OF 2020-12-05 14:56:23 -08:00
fman drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
fs_enet fs_enet: Avoid comma separated statements 2020-08-25 07:54:19 -07:00
fec_main.c net: fec: Fix reference count leak in fec series ops 2020-11-16 09:37:01 -08:00
fec_mpc52xx_phy.c
fec_mpc52xx.c net: fec_mpc52xx: Replace in_interrupt() usage 2020-09-29 14:02:54 -07:00
fec_mpc52xx.h
fec_ptp.c drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
fec.h net: fec: fix MDIO probing for some FEC hardware blocks 2020-10-30 08:24:12 -07:00
fsl_pq_mdio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
gianfar_ethtool.c net: gianfar: reject unsupported coalescing params 2020-03-12 11:32:35 -07:00
gianfar.c gianfar: Account for Tx PTP timestamp in the skb headroom 2020-10-30 09:36:01 -07:00
gianfar.h net/freescale: Clean drivers from static versions 2020-03-03 17:54:55 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: dsa: felix: fix link error 2020-01-08 16:05:54 -08:00
ucc_geth_ethtool.c net/freescale: Don't set zero if FW not-available in ucc_geth 2020-03-03 17:54:55 -08:00
ucc_geth.c net: ucc_geth: Drop extraneous parentheses in comparison 2020-10-23 18:44:06 -07:00
ucc_geth.h net: freescale: ucc_geth: remove unused SKB_ALLOC_TIMEOUT 2020-12-01 16:55:19 -08:00
xgmac_mdio.c net/fsl: quieten expected MDIO access failures 2020-09-24 20:13:26 -07:00