]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
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 7a838068c1adde500bff616b391d5df3f6c715c9..b4a1c1476c56660fd5e2c295290a480f51fa71a1 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 02b5839010292c541c5fdd93b0ebd01d7b65d206..33e7e2795d1e09a3d6fb9e001ec0fc3992579175 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 */