diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-04-26 10:47:19 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 12:05:42 +0200 |
commit | 25dcebb5ef63bc431a2af93126ef43ba374e1477 (patch) | |
tree | 4ca52b9769d3c01c6bb15f31c5c5bd467a864f72 | |
parent | a86e9fd6e1320fdd317b8cc604470afc8e709186 (diff) |
flowtop: Remove unused parameters from draw_flow_entry()
Remove unused "screen" & "line" parameters from draw_flow_entry().
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | flowtop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -992,7 +992,7 @@ static void print_flow_peer_info(const struct flow_entry *n, enum flow_direction tmp, sizeof(tmp) - 1)); } -static void draw_flow_entry(WINDOW *scr, const struct flow_entry *n, int line) +static void draw_flow_entry(const struct flow_entry *n) { char tmp[128]; @@ -1117,7 +1117,7 @@ static void draw_flows(WINDOW *screen, struct flow_list *fl, if (--skip >= 0) continue; - draw_flow_entry(screen, n, line); + draw_flow_entry(n); line += row_width; } |