diff options
author | David S. Miller <davem@davemloft.net> | 2010-08-25 02:06:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-25 02:06:27 +0400 |
commit | 4562487a00445eab96311365ba15c41dc4d043cd (patch) | |
tree | 50fdab90499a8903ab625adf58887d65a77af27a /drivers/net/mlx4/en_rx.c | |
parent | 04714a16db6fd8d175050a01459fd16660fba18c (diff) | |
download | linux-4562487a00445eab96311365ba15c41dc4d043cd.tar.xz |
mlx4_en: Fix build warning in mlx4_en_create_rx_ring.
drivers/net/mlx4/en_rx.c: In function ‘mlx4_en_create_rx_ring’:
drivers/net/mlx4/en_rx.c:305: warning: label ‘err_map’ defined but not used
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c index cb7ff00ce6de..c4aad7f2beb9 100644 --- a/drivers/net/mlx4/en_rx.c +++ b/drivers/net/mlx4/en_rx.c @@ -302,8 +302,6 @@ int mlx4_en_create_rx_ring(struct mlx4_en_priv *priv, return 0; -err_map: - mlx4_en_unmap_buffer(&ring->wqres.buf); err_hwq: mlx4_free_hwq_res(mdev->dev, &ring->wqres, ring->buf_size); err_ring: |