diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 12:14:10 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 12:14:10 +0200 |
commit | 4cc9f0befecc409684adab0b2924a763ec31b807 (patch) | |
tree | 6082f23f8fef21d935abeca89bd389bbae30576a /proto_tcp.c | |
parent | dc504fa7f8ff8672f47ad339b4d2f73d594b293a (diff) |
flowtop: Use fl argument instead of hard coded global flow_list
The only place where flow_list_update_entry() is called passes the
global flow_list anyway, so use the passed argument instead of the
global. This fixes the following -Wunused-parameter warning:
flowtop.c: In function ‘flow_list_update_entry’:
flowtop.c:1438:53: warning: unused parameter ‘fl’ [-Wunused-parameter]
static int flow_list_update_entry(struct flow_list *fl, struct nf_conntrack *ct)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_tcp.c')
0 files changed, 0 insertions, 0 deletions