From 7dc52459b344fb9393e86fe51c77cab77dc22460 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 8 Mar 2018 10:53:57 +1000 Subject: tools: libinput-record: drop unused 'print' argument And rename the function for more clarity Signed-off-by: Peter Hutterer --- tools/libinput-record.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/libinput-record.c b/tools/libinput-record.c index 9c45db91..36a0a6d1 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -238,7 +238,7 @@ print_evdev_events(struct record_context *ctx, struct input_event *e, size_t nev } static inline size_t -handle_frame(struct record_context *ctx, struct record_device *d, bool print) +handle_evdev_frame(struct record_context *ctx, struct record_device *d) { struct libevdev *evdev = d->evdev; struct input_event e; @@ -273,7 +273,7 @@ handle_events(struct record_context *ctx, struct record_device *d, bool print) size_t first_idx = d->nevents; size_t evcount; - evcount = handle_frame(ctx, d, print); + evcount = handle_evdev_frame(ctx, d); if (evcount == 0) break; -- cgit v1.2.3