summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHuy Nguyen <huyn@mellanox.com>2017-08-09 10:03:40 -0500
committerSaeed Mahameed <saeedm@mellanox.com>2017-08-30 21:20:43 +0300
commit10a8d00707082955b177164d4b4e758ffcbd4017 (patch)
treecc2fd03aa2013bbfe0d680d77e0d42935ccf2ca4 /include/linux
parentb3cb5388499c5e219324bfe7da2e46cbad82bfcf (diff)
downloadlinux-stable-10a8d00707082955b177164d4b4e758ffcbd4017.tar.gz
linux-stable-10a8d00707082955b177164d4b4e758ffcbd4017.tar.bz2
linux-stable-10a8d00707082955b177164d4b4e758ffcbd4017.zip
net/mlx5: Remove the flag MLX5_INTERFACE_STATE_SHUTDOWN
MLX5_INTERFACE_STATE_SHUTDOWN is not used in the code. Fixes: 5fc7197d3a25 ("net/mlx5: Add pci shutdown callback") Signed-off-by: Huy Nguyen <huyn@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 918f5e644506..205d82d4c468 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -674,7 +674,6 @@ enum mlx5_device_state {
enum mlx5_interface_state {
MLX5_INTERFACE_STATE_UP = BIT(0),
- MLX5_INTERFACE_STATE_SHUTDOWN = BIT(1),
};
enum mlx5_pci_status {