summaryrefslogtreecommitdiffstats
path: root/loader2/hardware.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-09-23 17:05:22 +0000
committerJeremy Katz <katzj@redhat.com>2005-09-23 17:05:22 +0000
commit732d43cbb57dfa099ec0ffee71d4002d9ece9eec (patch)
tree5b15dcc89771d193f873453ff9b3d479bfc5fdcf /loader2/hardware.c
parent3a05ce60eb1380a3a7203388ff63847fa8ab2b60 (diff)
downloadanaconda-732d43cbb57dfa099ec0ffee71d4002d9ece9eec.tar.gz
anaconda-732d43cbb57dfa099ec0ffee71d4002d9ece9eec.tar.xz
anaconda-732d43cbb57dfa099ec0ffee71d4002d9ece9eec.zip
* 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.
Diffstat (limited to 'loader2/hardware.c')
-rw-r--r--loader2/hardware.c19
1 files changed, 0 insertions, 19 deletions
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 */