mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 00:47:56 -04:00
staging: mt7621-mmc: fix unused variable compiler warning
The compiler complains:
drivers/staging/mt7621-mmc/dbg.c: In function ‘msdc_debug_proc_write’:
drivers/staging/mt7621-mmc/dbg.c:237:12: warning: unused variable ‘size’ [-Wunused-variable]
int mode, size;
^~~~
drivers/staging/mt7621-mmc/dbg.c:237:6: warning: unused variable ‘mode’ [-Wunused-variable]
int mode, size;
^~~~
Remove these declarations.
Signed-off-by: George Hilliard <thirtythreeforty@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
730b3cf282
commit
ea9420cea3
@@ -232,7 +232,6 @@ static ssize_t msdc_debug_proc_write(struct file *file,
|
||||
|
||||
int cmd, p1, p2;
|
||||
int id, zone;
|
||||
int mode, size;
|
||||
|
||||
if (count == 0)
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user