9
0
Fork 0

fprintf: remove unused variable

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-12-07 11:44:37 +01:00
parent 3fd9020731
commit a2792b03ff
1 changed files with 1 additions and 2 deletions

View File

@ -335,7 +335,6 @@ EXPORT_SYMBOL(console_flush);
int fprintf(int file, const char *fmt, ...)
{
va_list args;
uint i;
char printbuffer[CFG_PBSIZE];
va_start (args, fmt);
@ -343,7 +342,7 @@ int fprintf(int file, const char *fmt, ...)
/* For this to work, printbuffer must be larger than
* anything we ever want to print.
*/
i = vsprintf (printbuffer, fmt, args);
vsprintf (printbuffer, fmt, args);
va_end (args);
/* Print the string */