]> err.no Git - linux-2.6/blobdiff - drivers/telephony/phonedev.c
[PATCH] make 1-bit bitfields unsigned
[linux-2.6] / drivers / telephony / phonedev.c
index 80f9fe40527926abb8bd1338872a22f3f29f08bb..e41f49afd0f4792dfe8e3b0290b398590a90d886 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <linux/kmod.h>
 #include <linux/sem.h>
-#include <linux/devfs_fs_kernel.h>
 #include <linux/mutex.h>
 
 #define PHONE_NUM_DEVICES      256
@@ -123,7 +122,6 @@ void phone_unregister_device(struct phone_device *pfd)
        mutex_lock(&phone_lock);
        if (phone_device[pfd->minor] != pfd)
                panic("phone: bad unregister");
-       devfs_remove("phone/%d", pfd->minor);
        phone_device[pfd->minor] = NULL;
        mutex_unlock(&phone_lock);
 }