projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43203a0
)
hdt: Remove unused variables in main_show_pci
author
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Sat, 14 Mar 2009 18:51:33 +0000
(11:51 -0700)
committer
Pierre-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
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-cli-pci.c
b/com32/hdt/hdt-cli-pci.c
index
e97ad95
..
4c9fcd7
100644
(file)
--- a/
com32/hdt/hdt-cli-pci.c
+++ b/
com32/hdt/hdt-cli-pci.c
@@
-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");