pppoatm: Remove explicit loading of pppoatm kernel module
authorPaul Mackerras <paulus@samba.org>
Sun, 9 Jun 2013 02:20:34 +0000 (12:20 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 9 Jun 2013 02:20:34 +0000 (12:20 +1000)
The kernel does this automatically itself.  Patch from debian package.

Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/plugins/pppoatm/pppoatm.c

index 7712c6d8fdd79ad9787c0902179ca715e63d6d10..d693350bc473078b85030254b132a4217e690b9d 100644 (file)
@@ -133,8 +133,6 @@ static int connect_pppoatm(void)
        int fd;
        struct atm_qos qos;
 
-       system ("/sbin/modprobe -q pppoatm");
-
        if (!device_got_set)
                no_device_given_pppoatm();
        fd = socket(AF_ATMPVC, SOCK_DGRAM, 0);