greybus: control: Drop unused parameter from timesync_authoritative
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 12 May 2016 11:43:52 +0000 (12:43 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 14 May 2016 16:26:24 +0000 (18:26 +0200)
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
drivers/staging/greybus/control.h

index 7a83806..b4a1c14 100644 (file)
@@ -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;
index 02b5839..33e7e27 100644 (file)
@@ -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 */