9784 loader: multiboot.c has unused variables and function

Review Request #1191 - Created Sept. 2, 2018 and submitted - Latest diff uploaded

Information
Toomas Soome
illumos-gate
9784
c210d24...
Reviewers
general
multiboot.c: In function 'multiboot_exec':
multiboot.c:249:26: error: unused variable 'kernend' [-Werror=unused-variable]
  vm_offset_t    modulep, kernend, entry;
                          ^~~~~~~
multiboot.c:249:17: error: unused variable 'modulep' [-Werror=unused-variable]
  vm_offset_t    modulep, kernend, entry;
                 ^~~~~~~
multiboot.c:248:31: error: unused variable 'metadata_size' [-Werror=unused-variable]
  vm_offset_t    module_start, metadata_size;
                               ^~~~~~~~~~~~~
multiboot.c:248:17: error: unused variable 'module_start' [-Werror=unused-variable]
  vm_offset_t    module_start, metadata_size;
                 ^~~~~~~~~~~~
multiboot.c: In function 'multiboot_obj_loadfile':
multiboot.c:467:24: error: unused variable 'kmp' [-Werror=unused-variable]
  struct kernel_module *kmp;
                        ^~~
At top level:
multiboot.c:95:1: error: 'max_addr' defined but not used [-Werror=unused-function]
 max_addr(void)
 ^~~~~~~~
cc1: all warnings being treated as errors

  
Loading...