diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-03 19:39:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-03 19:39:17 +0000 |
commit | fad2c679c76105eac7164d920862050e2cca5b82 (patch) | |
tree | 9b1c84cff8738e6832b0d218f42aad494b7ec212 /mdk-stage1 | |
parent | 5975bcd1ea9dd9f5970c4393e68bdfc173599a6a (diff) | |
download | drakx-backup-do-not-use-fad2c679c76105eac7164d920862050e2cca5b82.tar drakx-backup-do-not-use-fad2c679c76105eac7164d920862050e2cca5b82.tar.gz drakx-backup-do-not-use-fad2c679c76105eac7164d920862050e2cca5b82.tar.bz2 drakx-backup-do-not-use-fad2c679c76105eac7164d920862050e2cca5b82.tar.xz drakx-backup-do-not-use-fad2c679c76105eac7164d920862050e2cca5b82.zip |
(ppp_available) kill dead code, thus reducing diff with upstream ppp
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/ppp/pppd/sys-linux.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mdk-stage1/ppp/pppd/sys-linux.c b/mdk-stage1/ppp/pppd/sys-linux.c index 3ab92dfba..beb6a3cc0 100644 --- a/mdk-stage1/ppp/pppd/sys-linux.c +++ b/mdk-stage1/ppp/pppd/sys-linux.c @@ -1903,21 +1903,6 @@ int ppp_available(void) kernel_version = KVERSION(osmaj, osmin, ospatch); fd = open("/dev/ppp", O_RDWR); -#if 0 - if (fd < 0 && errno == ENOENT) { - /* try making it and see if that helps. */ - if (mknod("/dev/ppp", S_IFCHR | S_IRUSR | S_IWUSR, - makedev(108, 0)) >= 0) { - fd = open("/dev/ppp", O_RDWR); - if (fd >= 0) - info("Created /dev/ppp device node"); - else - unlink("/dev/ppp"); /* didn't work, undo the mknod */ - } else if (errno == EEXIST) { - fd = open("/dev/ppp", O_RDWR); - } - } -#endif /* 0 */ if (fd >= 0) { new_style_driver = 1; |