]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/telephony/phonedev.c
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
[mirror_ubuntu-artful-kernel.git] / drivers / telephony / phonedev.c
index 80f9fe40527926abb8bd1338872a22f3f29f08bb..bc5b1d245df93fdf510df711a1c4f17111c7ef61 100644 (file)
@@ -123,7 +123,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);
 }