diff options
Diffstat (limited to 'util-linux/lspci.c')
-rw-r--r-- | util-linux/lspci.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/util-linux/lspci.c b/util-linux/lspci.c index 2f0b5fab9..c22cbcc1e 100644 --- a/util-linux/lspci.c +++ b/util-linux/lspci.c | |||
@@ -37,11 +37,9 @@ enum { | |||
37 | /* | 37 | /* |
38 | * PCI_SLOT_NAME PCI_CLASS: PCI_VID:PCI_DID [PCI_SUBSYS_VID:PCI_SUBSYS_DID] [DRIVER] | 38 | * PCI_SLOT_NAME PCI_CLASS: PCI_VID:PCI_DID [PCI_SUBSYS_VID:PCI_SUBSYS_DID] [DRIVER] |
39 | */ | 39 | */ |
40 | static int FAST_FUNC fileAction( | 40 | static int FAST_FUNC fileAction(struct recursive_state *state UNUSED_PARAM, |
41 | const char *fileName, | 41 | const char *fileName, |
42 | struct stat *statbuf UNUSED_PARAM, | 42 | struct stat *statbuf UNUSED_PARAM) |
43 | void *userData UNUSED_PARAM, | ||
44 | int depth UNUSED_PARAM) | ||
45 | { | 43 | { |
46 | parser_t *parser; | 44 | parser_t *parser; |
47 | char *tokens[3]; | 45 | char *tokens[3]; |
@@ -117,8 +115,7 @@ int lspci_main(int argc UNUSED_PARAM, char **argv) | |||
117 | ACTION_RECURSE, | 115 | ACTION_RECURSE, |
118 | fileAction, | 116 | fileAction, |
119 | NULL, /* dirAction */ | 117 | NULL, /* dirAction */ |
120 | NULL, /* userData */ | 118 | NULL /* userData */ |
121 | 0 /* depth */); | 119 | ); |
122 | |||
123 | return EXIT_SUCCESS; | 120 | return EXIT_SUCCESS; |
124 | } | 121 | } |