net/mlx4_core: Fix build failure introduced by the EQ pool changes
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 2 Jun 2015 07:29:48 +0000 (10:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 02:34:51 +0000 (19:34 -0700)
commitdb9777e376b0e038fc01d1361c7ea3eaf801c718
treea26b99b85d389be95b9feacadb7a532bf65f2593
parentdf905ceae3883f024282d00824ce33040097ac86
net/mlx4_core: Fix build failure introduced by the EQ pool changes

When CONFIG_RFS_ACCEL or SMP aren't set, we fail to build, fix it.

Also, avoid build warning as of unused function on that setup.

Fixes: c66fa19c405a ('net/mlx4: Add EQ pool')
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/eq.c