obmc-console: Mark unused parameters as such
As part of the clean up, remove the size parameter from log_trim().
log_trim() is a static function that only has one call site, so it was
straight-forward to fix without applying __attribute__((unused)).
Change-Id: Ic61821934dab644590adb4df09b7a8f547aa1c5a
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/socket-handler.c b/socket-handler.c
index 42690be..7da6818 100644
--- a/socket-handler.c
+++ b/socket-handler.c
@@ -211,7 +211,7 @@
return RINGBUFFER_POLL_OK;
}
-static enum poller_ret client_timeout(struct handler *handler, void *data)
+static enum poller_ret client_timeout(struct handler *handler __attribute__((unused)), void *data)
{
struct client *client = data;
int rc = 0;