]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fec58902a26a62e77969ebe218cb8b523deb719
treea26b99b85d389be95b9feacadb7a532bf65f2593
parent6d995177c10c933cd15b3da7c9327767017c18d9
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: c6bd4c77a7d0 ('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