fprintf: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
3fd9020731
commit
a2792b03ff
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue