From 123e7497237a43068d88d49efaca6fff1f5e29e3 Mon Sep 17 00:00:00 2001
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Date: Thu, 12 May 2016 12:43:52 +0100
Subject: [PATCH] greybus: control: Drop unused parameter from
 timesync_authoritative

The count field is redundant and unused. Drop it from the control
timesync_authoritative command.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
---
 drivers/staging/greybus/control.c | 2 +-
 drivers/staging/greybus/control.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/control.c b/drivers/staging/greybus/control.c
index 7a838068c1add..b4a1c1476c566 100644
--- a/drivers/staging/greybus/control.c
+++ b/drivers/staging/greybus/control.c
@@ -192,7 +192,7 @@ int gb_control_timesync_get_last_event(struct gb_control *control,
 }
 
 int gb_control_timesync_authoritative(struct gb_control *control,
-				      u64 *frame_time, u8 count)
+				      u64 *frame_time)
 {
 	struct gb_control_timesync_authoritative_request request;
 	int i;
diff --git a/drivers/staging/greybus/control.h b/drivers/staging/greybus/control.h
index 02b5839010292..33e7e2795d1e0 100644
--- a/drivers/staging/greybus/control.h
+++ b/drivers/staging/greybus/control.h
@@ -46,6 +46,6 @@ int gb_control_timesync_disable(struct gb_control *control);
 int gb_control_timesync_get_last_event(struct gb_control *control,
 				       u64 *frame_time);
 int gb_control_timesync_authoritative(struct gb_control *control,
-				      u64 *frame_time, u8 count);
+				      u64 *frame_time);
 
 #endif /* __CONTROL_H */
-- 
2.30.2