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/log-handler.c b/log-handler.c
index 2e0df6e..6d31be6 100644
--- a/log-handler.c
+++ b/log-handler.c
@@ -51,7 +51,7 @@
 	return container_of(handler, struct log_handler, handler);
 }
 
-static int log_trim(struct log_handler *lh, size_t space)
+static int log_trim(struct log_handler *lh)
 {
 	int rc;
 
@@ -84,7 +84,7 @@
 	}
 
 	if (lh->size + len > lh->maxsize) {
-		rc = log_trim(lh, len);
+		rc = log_trim(lh);
 		if (rc)
 			return rc;
 	}