diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-04-27 09:45:21 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-27 09:45:21 +0200 |
commit | ab19a9757695b6a90d73bb3782584e5995195b24 (patch) | |
tree | c8a1187ef1b1d5fe60c3826a416d86db11a31b27 /ring_rx.c | |
parent | f321e02ac398ae92a5e5431c8ca915dd757d2986 (diff) |
ring: Remove unused parameter sock from setup_ring_layout_generic()
setup_ring_layout_generic() takes an "int sock" parameter but never uses
it. Remove it to prevent -Wunused-parameter warnings.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring_rx.c')
-rw-r--r-- | ring_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ void destroy_rx_ring(int sock, struct ring *ring) static void setup_rx_ring_layout(int sock, struct ring *ring, size_t size, bool jumbo_support, bool v3) { - setup_ring_layout_generic(sock, ring, size, jumbo_support); + setup_ring_layout_generic(ring, size, jumbo_support); if (v3) { setup_rx_ring_layout_v3(ring); |