aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/telephony/phonedev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/telephony/phonedev.c')
-rw-r--r--drivers/telephony/phonedev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/telephony/phonedev.c b/drivers/telephony/phonedev.c
index 80f9fe405279..bc5b1d245df9 100644
--- a/drivers/telephony/phonedev.c
+++ b/drivers/telephony/phonedev.c
@@ -123,7 +123,6 @@ void phone_unregister_device(struct phone_device *pfd)
123 mutex_lock(&phone_lock); 123 mutex_lock(&phone_lock);
124 if (phone_device[pfd->minor] != pfd) 124 if (phone_device[pfd->minor] != pfd)
125 panic("phone: bad unregister"); 125 panic("phone: bad unregister");
126 devfs_remove("phone/%d", pfd->minor);
127 phone_device[pfd->minor] = NULL; 126 phone_device[pfd->minor] = NULL;
128 mutex_unlock(&phone_lock); 127 mutex_unlock(&phone_lock);
129} 128}