summaryrefslogtreecommitdiffstats
path: root/loader2/hardware.c
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-01-13 14:34:04 -0500
committerBill Nottingham <notting@redhat.com>2008-01-14 15:23:49 -0500
commitd971f8197be76e6e1edf329f0b2c28fbcb75ee49 (patch)
treef1ad66221da7bbd0c9aeaba9610ffd47f3f6fc1d /loader2/hardware.c
parentf4a8e33b9267ad106c232db4e5bf8dcd4064caf1 (diff)
downloadanaconda-d971f8197be76e6e1edf329f0b2c28fbcb75ee49.tar.gz
anaconda-d971f8197be76e6e1edf329f0b2c28fbcb75ee49.tar.xz
anaconda-d971f8197be76e6e1edf329f0b2c28fbcb75ee49.zip
remove unneeded arguments
Diffstat (limited to 'loader2/hardware.c')
-rw-r--r--loader2/hardware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader2/hardware.c b/loader2/hardware.c
index cecdf1316..58ee9816c 100644
--- a/loader2/hardware.c
+++ b/loader2/hardware.c
@@ -45,7 +45,7 @@
/* boot flags */
extern uint64_t flags;
-static int detectHardware(char *** modules) {
+static int detectHardware() {
int child, rc, status;
int timeout = 0; /* FIXME: commandline option for this */
@@ -141,7 +141,7 @@ int busProbe(int justProbe) {
/* autodetect whatever we can */
if (justProbe)
return 0;
- return detectHardware(NULL);
+ return detectHardware();
}