Commit 9796ba9
sparc64: fix unused variable warning
arch/sparc/mm/init_64.c: In function 'arch_hugetlb_valid_size':
arch/sparc/mm/init_64.c:361:24: warning: variable 'hv_pgsz_idx'
set but not used [-Wunused-but-set-variable]
361 | unsigned short hv_pgsz_idx;
| ^~~~~~~~~~~
Reported-by: kernel test robot <lkp@intel.com>
Cc: sparclinux@vger.kernel.org
CC: Nitin Gupta <nitin.m.gupta@oracle.com>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Alex Shi <alexs@kernel.org>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>1 parent be0bccf commit 9796ba9
1 file changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
362 | 361 | | |
363 | 362 | | |
364 | 363 | | |
365 | 364 | | |
366 | 365 | | |
367 | | - | |
368 | 366 | | |
369 | 367 | | |
370 | 368 | | |
371 | 369 | | |
372 | | - | |
373 | 370 | | |
374 | 371 | | |
375 | 372 | | |
376 | | - | |
377 | 373 | | |
378 | 374 | | |
379 | 375 | | |
380 | | - | |
381 | 376 | | |
382 | 377 | | |
383 | 378 | | |
384 | | - | |
385 | 379 | | |
386 | 380 | | |
387 | 381 | | |
| |||
0 commit comments