From 732d43cbb57dfa099ec0ffee71d4002d9ece9eec Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 23 Sep 2005 17:05:22 +0000 Subject: * loader2/loader.c: Don't load parallel port module. (#169135) * loader2/loader.h (LOADER_FLAGS_NOPARPORT): Remove unused flag. * loader2/hardware.c (initializeParallelPort): Remove unused code. --- loader2/hardware.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'loader2/hardware.c') diff --git a/loader2/hardware.c b/loader2/hardware.c index b54feb5a4..aa949b86c 100644 --- a/loader2/hardware.c +++ b/loader2/hardware.c @@ -158,25 +158,6 @@ int scsiTapeInitialize(moduleList modLoaded, moduleDeps modDeps, } -/* This loads the necessary parallel port drivers for printers so that - kudzu can autodetect and setup printers in post install*/ -void initializeParallelPort(moduleList modLoaded, moduleDeps modDeps, - moduleInfoSet modInfo, int flags) { - /* JKFIXME: this could be useful on other arches too... */ -#if !defined (__i386__) - return; -#endif - if (FL_NOPARPORT(flags)) return; - - logMessage(INFO, "loading parallel port drivers..."); - if (mlLoadModuleSetLocation("parport_pc", modLoaded, modDeps, - modInfo, flags, - secondStageModuleLocation)) { - logMessage(ERROR, "failed to load parport_pc module"); - return; - } -} - int probeiSeries(moduleInfoSet modInfo, moduleList modLoaded, moduleDeps modDeps, int flags) { /* this is a hack since we can't really probe on iSeries */ -- cgit