summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post/post.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/post/post.c b/post/post.c
index ab8e959b7a3..0e67ad74b77 100644
--- a/post/post.c
+++ b/post/post.c
@@ -417,7 +417,6 @@ int post_info(char *name)
int post_log(char *format, ...)
{
va_list args;
- uint i;
char printbuffer[CONFIG_SYS_PBSIZE];
va_start(args, format);
@@ -425,7 +424,7 @@ int post_log(char *format, ...)
/* For this to work, printbuffer must be larger than
* anything we ever want to print.
*/
- i = vsprintf(printbuffer, format, args);
+ vsprintf(printbuffer, format, args);
va_end(args);
#ifdef CONFIG_LOGBUFFER