net/mlx4: Remove shared_ports variable at mlx4_enable_msi_x
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Wed, 7 Oct 2015 16:31:46 +0000 (12:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 12:20:24 +0000 (05:20 -0700)
commit85121d6ee6973f98789bf7343f7f636c01e2de19
treecbdb2c33b6765593495404a7d56ba3d58d00cd59
parent9d3a6386c8238bfacf57ee9dac68ec4b40b302fe
net/mlx4: Remove shared_ports variable at mlx4_enable_msi_x

If we get MAX_MSIX interrupts would like to have each receive ring
with his own msix interrupt line. Do not need the shared_ports
variable at mlx4_enable_msix

Fixes: 9293267a3e2a ('net/mlx4_core: Capping number of requested MSIXs to MAX_MSIX')
Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
Acked-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c