diff options
Diffstat (limited to 'drivers/sbus')
-rw-r--r-- | drivers/sbus/char/bpp.c | 4 | ||||
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c index 03f6e9880692..e680de41d762 100644 --- a/drivers/sbus/char/bpp.c +++ b/drivers/sbus/char/bpp.c | |||
@@ -1031,10 +1031,6 @@ static int __init bpp_init(void) | |||
1031 | instances[idx].opened = 0; | 1031 | instances[idx].opened = 0; |
1032 | probeLptPort(idx); | 1032 | probeLptPort(idx); |
1033 | } | 1033 | } |
1034 | for (idx = 0; idx < BPP_NO; idx++) { | ||
1035 | devfs_mk_cdev(MKDEV(BPP_MAJOR, idx), | ||
1036 | S_IFCHR | S_IRUSR | S_IWUSR, "bpp/%d", idx); | ||
1037 | } | ||
1038 | 1034 | ||
1039 | return 0; | 1035 | return 0; |
1040 | } | 1036 | } |
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index 31232ce72071..5d32384ad728 100644 --- a/drivers/sbus/char/vfc_dev.c +++ b/drivers/sbus/char/vfc_dev.c | |||
@@ -164,10 +164,6 @@ int init_vfc_device(struct sbus_dev *sdev,struct vfc_dev *dev, int instance) | |||
164 | return -EINVAL; | 164 | return -EINVAL; |
165 | if (init_vfc_hw(dev)) | 165 | if (init_vfc_hw(dev)) |
166 | return -EIO; | 166 | return -EIO; |
167 | |||
168 | devfs_mk_cdev(MKDEV(VFC_MAJOR, instance), | ||
169 | S_IFCHR | S_IRUSR | S_IWUSR, | ||
170 | "vfc/%d", instance); | ||
171 | return 0; | 167 | return 0; |
172 | } | 168 | } |
173 | 169 | ||