remove unused function argument
diff --git a/tog/tog.c b/tog/tog.c
index 22c411b..ea1f898 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1243,8 +1243,7 @@ scroll_up(struct commit_queue_entry **first_displayed_entry, int maxscroll,
}
static const struct got_error *
-scroll_down(struct tog_view *view,
- struct commit_queue_entry **first_displayed_entry, int maxscroll,
+scroll_down(struct commit_queue_entry **first_displayed_entry, int maxscroll,
struct commit_queue_entry **last_displayed_entry,
struct commit_queue *commits, int *log_complete, int *commits_needed,
pthread_cond_t *need_commits)
@@ -1581,7 +1580,7 @@ input_log_view(struct tog_view **new_view, struct tog_view **dead_view,
s->selected++;
break;
}
- err = scroll_down(view, &s->first_displayed_entry, 1,
+ err = scroll_down(&s->first_displayed_entry, 1,
&s->last_displayed_entry, &s->commits,
&s->thread_args.log_complete,
&s->thread_args.commits_needed,
@@ -1592,7 +1591,7 @@ input_log_view(struct tog_view **new_view, struct tog_view **dead_view,
first = s->first_displayed_entry;
if (first == NULL)
break;
- err = scroll_down(view, &s->first_displayed_entry,
+ err = scroll_down(&s->first_displayed_entry,
view->nlines, &s->last_displayed_entry,
&s->commits, &s->thread_args.log_complete,
&s->thread_args.commits_needed,