projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04714a1
)
mlx4_en: Fix build warning in mlx4_en_create_rx_ring.
author
David S. Miller
<davem@davemloft.net>
Tue, 24 Aug 2010 22:06:27 +0000
(15:06 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 24 Aug 2010 22:06:27 +0000
(15:06 -0700)
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>
drivers/net/mlx4/en_rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx4/en_rx.c
b/drivers/net/mlx4/en_rx.c
index
cb7ff00
..
c4aad7f
100644
(file)
--- 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: