From 25dcebb5ef63bc431a2af93126ef43ba374e1477 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Tue, 26 Apr 2016 10:47:19 +0300 Subject: flowtop: Remove unused parameters from draw_flow_entry() Remove unused "screen" & "line" parameters from draw_flow_entry(). Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- flowtop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flowtop.c b/flowtop.c index 20b3c25..b30b0bb 100644 --- a/flowtop.c +++ b/flowtop.c @@ -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; } -- cgit v1.2.3-54-g00ecf