From: Bryan O'Donoghue Date: Thu, 12 May 2016 11:43:52 +0000 (+0100) Subject: greybus: control: Drop unused parameter from timesync_authoritative X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=123e7497237a43068d88d49efaca6fff1f5e29e3;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/control.c b/drivers/staging/greybus/control.c index 7a838068c1ad..b4a1c1476c56 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 02b583901029..33e7e2795d1e 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 */