diff options
| author | Moni Shoua <monis@mellanox.com> | 2016-01-14 17:48:07 +0200 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-02-03 00:05:21 +0000 |
| commit | ce89794917d7912e0ba6675ccb466295948d9c4d (patch) | |
| tree | 7a18a33fe9cbf0c716592a9004a489f8f39ecd3c /include/linux | |
| parent | aac163e2fd03ab89d76828b48f62fbc627954c82 (diff) | |
net/mlx4: Remove unused macro
commit f25bf1977f7a968e85fe8ab99252b8132c6cf8c4 upstream.
The macro mlx4_foreach_non_ib_transport_port() is not used anywhere. Remove it.
Fixes: aa9a2d51a3e7 ("mlx4: Activate RoCE/SRIOV")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx4/device.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 35b51e7af886..48ddabb261bc 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h @@ -782,10 +782,6 @@ struct mlx4_init_port_param { for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \ if ((type) == (dev)->caps.port_mask[(port)]) -#define mlx4_foreach_non_ib_transport_port(port, dev) \ - for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \ - if (((dev)->caps.port_mask[port] != MLX4_PORT_TYPE_IB)) - #define mlx4_foreach_ib_transport_port(port, dev) \ for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \ if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \ |
