Linux: -Wunused-variable in drivers/net/ethernet/mellanox/mlx5/core/en_main.c

Created on 10 Jul 2019  路  2Comments  路  Source: ClangBuiltLinux/linux

drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3467:21: warning: unused variable 'priv' [-Wunused-variable]
        struct mlx5e_priv *priv = netdev_priv(dev);
                           ^
1 warning generated.

Patch submitted: https://lore.kernel.org/lkml/[email protected]/

-Wunused-variable [BUG] linux-next [FIXED][LINUX] 5.3

All 2 comments

The maintainer wanted to use a different fix: https://lore.kernel.org/netdev/[email protected]/

Was this page helpful?
0 / 5 - 0 ratings