diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2021-05-14 12:32:17 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-05-27 12:35:19 +0200 |
commit | 4f5d31ce099ddc7f40c5537a680b91ea87a6c5d4 (patch) | |
tree | 4bac7e4f0dd8c381692fe6f7b0dea44727c4c59c /arch/mips/loongson64/Makefile | |
parent | MIPS: ath79: ar9331: add pause property for the MAC <> switch link (diff) | |
download | linux-4f5d31ce099ddc7f40c5537a680b91ea87a6c5d4.tar.xz linux-4f5d31ce099ddc7f40c5537a680b91ea87a6c5d4.zip |
MIPS: Loongson64: Remove a "set but not used" variable
This fix build warning:
arch/mips/loongson64/env.c: In function 'prom_init_env':
>> arch/mips/loongson64/env.c:50:14: warning: variable 'device' set but not used [-Wunused-but-set-variable]
50 | u16 vendor, device;
| ^~~~~~
{standard input}: Assembler messages:
{standard input}:788: Error: found '(', expected: ')'
{standard input}:788: Error: found '(', expected: ')'
{standard input}:788: Error: non-constant expression in ".if" statement
{standard input}:788: Error: junk at end of line, first unrecognized character is `('
{standard input}:801: Error: found '(', expected: ')'
{standard input}:801: Error: found '(', expected: ')'
{standard input}:801: Error: non-constant expression in ".if" statement
{standard input}:801: Error: junk at end of line, first unrecognized character is `('
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/loongson64/Makefile')
0 files changed, 0 insertions, 0 deletions