summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_rx.c
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2009-04-20 06:30:03 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-21 10:47:05 +0200
commit966508f7a591399a0b0dcfc0336e88480e5ed520 (patch)
treecc76e654db0aeac2c124c59cbfe98cdbc0eb5169 /drivers/net/mlx4/en_rx.c
parentmlx4_en: Fix a race at restart task (diff)
downloadlinux-966508f7a591399a0b0dcfc0336e88480e5ed520.tar.xz
linux-966508f7a591399a0b0dcfc0336e88480e5ed520.zip
mlx4_en: Assign dummy event handler for TX queue
The low level driver always assumes this handler exists. The lack of it could cause kernel panic Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_rx.c')
-rw-r--r--drivers/net/mlx4/en_rx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c
index 8673008f72df..0cbb78ca7b29 100644
--- a/drivers/net/mlx4/en_rx.c
+++ b/drivers/net/mlx4/en_rx.c
@@ -928,12 +928,6 @@ void mlx4_en_set_default_rss_map(struct mlx4_en_priv *priv,
}
}
-static void mlx4_en_sqp_event(struct mlx4_qp *qp, enum mlx4_event event)
-{
- return;
-}
-
-
static int mlx4_en_config_rss_qp(struct mlx4_en_priv *priv,
int qpn, int srqn, int cqn,
enum mlx4_qp_state *state,