]> git.hungrycats.org Git - linux/commitdiff
[PATCH] 2.5.3 ISDN devfs fix
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 5 Feb 2002 09:49:56 +0000 (01:49 -0800)
committerKai Germaschewski <kai@chaos.tp1.ruhr-uni-bochum.de>
Tue, 5 Feb 2002 09:49:56 +0000 (01:49 -0800)
the appended patch by Adrian Bunk removes yet another leftover from
the /dev/isdnX devices (which causes an build error when
CONFIG_DEVFS_FS=y).

drivers/isdn/isdn_common.c

index ae1f624f7e17ebb9126f29afe2a6b3d53eb2a590..dc77795833ef54747a1ba05fe6d5774455a71a98 100644 (file)
@@ -2178,7 +2178,6 @@ static void isdn_register_devfs(int k)
 
 static void isdn_unregister_devfs(int k)
 {
-       devfs_unregister (dev->devfs_handle_isdnX[k]);
        devfs_unregister (dev->devfs_handle_isdnctrlX[k]);
 }
 
@@ -2226,22 +2225,18 @@ static void isdn_cleanup_devfs(void)
 #else   /* CONFIG_DEVFS_FS */
 static void isdn_register_devfs(int dummy)
 {
-       return;
 }
 
 static void isdn_unregister_devfs(int dummy)
 {
-       return;
 }
 
 static void isdn_init_devfs(void)
 {
-    return;
 }
 
 static void isdn_cleanup_devfs(void)
 {
-    return;
 }
 
 #endif  /* CONFIG_DEVFS_FS */