net/mlx5e: Cleanup of dcbnl related fields
authorHuy Nguyen <[email protected]>
Wed, 8 Aug 2018 22:48:08 +0000 (15:48 -0700)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Cc: Yuval Shaia <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c