diff options
Diffstat (limited to 'drivers/telephony/phonedev.c')
-rw-r--r-- | drivers/telephony/phonedev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/telephony/phonedev.c b/drivers/telephony/phonedev.c index e166fffea86b..80f9fe405279 100644 --- a/drivers/telephony/phonedev.c +++ b/drivers/telephony/phonedev.c | |||
@@ -106,8 +106,6 @@ int phone_register_device(struct phone_device *p, int unit) | |||
106 | if (phone_device[i] == NULL) { | 106 | if (phone_device[i] == NULL) { |
107 | phone_device[i] = p; | 107 | phone_device[i] = p; |
108 | p->minor = i; | 108 | p->minor = i; |
109 | devfs_mk_cdev(MKDEV(PHONE_MAJOR,i), | ||
110 | S_IFCHR|S_IRUSR|S_IWUSR, "phone/%d", i); | ||
111 | mutex_unlock(&phone_lock); | 109 | mutex_unlock(&phone_lock); |
112 | return 0; | 110 | return 0; |
113 | } | 111 | } |