hdt: Remove unused variables in main_show_pci
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 14 Mar 2009 18:51:33 +0000 (11:51 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 14 Mar 2009 22:31:22 +0000 (15:31 -0700)
Impact: Cleanups.

This fixes 8 compilation warnings.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli-pci.c

index e97ad95..4c9fcd7 100644 (file)
@@ -260,15 +260,6 @@ void cli_detect_pci(struct s_hardware *hardware)
 
 void main_show_pci(struct s_hardware *hardware)
 {
-  int i = 1;
-  char kernel_modules[LINUX_KERNEL_MODULE_SIZE *
-                      MAX_KERNEL_MODULES_PER_PCI_DEVICE];
-  struct pci_device *pci_device;
-  bool nopciids = false;
-  bool nomodulespcimap = false;
-  char first_line[81];
-  char second_line[81];
-  char third_line[81];
   cli_detect_pci(hardware);
 
   more_printf("PCI\n");