net/mlx5e: Cleanup of dcbnl related fields
authorHuy Nguyen <huyn@mellanox.com>
Wed, 8 Aug 2018 22:48:08 +0000 (15:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 02:07:37 +0000 (19:07 -0700)
commitf280c6a1e548cd3223a56bb480454ffb96050e87
tree6f6c032a9a4767464307f2470001a43c5e70ca6e
parent816f670623692b5da2787f278cbfdb331ed29b8a
net/mlx5e: Cleanup of dcbnl related fields

Remove unused netdev_registered_init/remove in en.h
Return ENOSUPPORT if the check MLX5_DSCP_SUPPORTED fails.
Remove extra white space

Fixes: 2a5e7a1344f4 ("net/mlx5e: Add dcbnl dscp to priority support")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Cc: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c