]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - init/do_mounts.h
[PATCH] devfs: Remove devfs from the init code
[linux-2.6.git] / init / do_mounts.h
index e0a7ac9649e1e4c10c080a7691744ce62e6bc497..66548efe4c3c7e8d94fd283c1bb875fa6b69e358 100644 (file)
@@ -15,25 +15,12 @@ void  mount_root(void);
 extern int root_mountflags;
 extern char *root_device_name;
 
-#ifdef CONFIG_DEVFS_FS
-
-void mount_devfs(void);
-void umount_devfs(char *path);
-int  create_dev(char *name, dev_t dev, char *devfs_name);
-
-#else
-
-static inline void mount_devfs(void) {}
-static inline void umount_devfs(const char *path) {}
-
-static inline int create_dev(char *name, dev_t dev, char *devfs_name)
+static inline int create_dev(char *name, dev_t dev)
 {
        sys_unlink(name);
        return sys_mknod(name, S_IFBLK|0600, new_encode_dev(dev));
 }
 
-#endif
-
 #if BITS_PER_LONG == 32
 static inline u32 bstat(char *name)
 {