remove unused variable in esp.c
PATCH 1/1 remove unused variable in esp.c
I got the following warning in 2.6.7-mm5:
<-- snip -->
...
CC [M] drivers/char/esp.odrivers/char/esp.c: In function `esp_tiocmset':drivers/char/esp.c:1783: warning: unused variable `arg'
...
<-- snip -->
Since the variable is in fact unused, the following patch simply removes it:
Signed-off-by Adrian Bunk <[email protected]>
drivers/char/esp.c renamed from drivers/char/esp.c.old +0 -1
@@ -1780,7 +1780,6 @@ unsigned int set, unsigned int clear) {struct esp_struct * info = (struct esp_struct *)tty->driver_data; -unsigned int arg;if (serial_paranoia_check (info, tty->name, __FUNCTION__))return -ENODEV ;
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed