summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/connection.h
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2015-09-22 18:06:37 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2015-09-23 12:39:24 -0700
commitd090446a915f109e65f3b2643269b134e1ddb4ef (patch)
tree973bf816eaea70cef1b422736423b49618705915 /drivers/staging/greybus/connection.h
parent608f6619a295ce755061a046e967d8e32c2f4f5b (diff)
greybus: loopback: drop dependency on internal timestamps
This patch drops tracking of internal latencies, it's possible to derive these times via kernel tracepoints and some user-space scripting. Since there's no other use of the internal timestamp than the loopback driver we remove the connection.c, connection.h, es1.c, es2.c and loopback.c inter-dependency in one go. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.h')
-rw-r--r--drivers/staging/greybus/connection.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h
index e3ae01dcfd82..27ec5975bbe0 100644
--- a/drivers/staging/greybus/connection.h
+++ b/drivers/staging/greybus/connection.h
@@ -43,7 +43,6 @@ struct gb_connection {
struct list_head operations;
struct workqueue_struct *wq;
- struct kfifo ts_kfifo;
atomic_t op_cycle;
@@ -64,9 +63,6 @@ void gb_hd_connections_exit(struct greybus_host_device *hd);
void greybus_data_rcvd(struct greybus_host_device *hd, u16 cport_id,
u8 *data, size_t length);
-void gb_connection_push_timestamp(struct gb_connection *connection);
-int gb_connection_pop_timestamp(struct gb_connection *connection,
- struct timeval *tv);
int gb_connection_bind_protocol(struct gb_connection *connection);