9
0
Fork 0

fs: remove unused field 'type' from struct fs_driver_d

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-04-04 15:39:05 +02:00
parent bf556ae710
commit 5c44e3af24
4 changed files with 0 additions and 8 deletions

View File

@ -456,7 +456,6 @@ static void cramfs_remove(struct device_d *dev)
}
static struct fs_driver_d cramfs_driver = {
.type = FS_TYPE_CRAMFS,
.open = cramfs_open,
.close = cramfs_close,
.read = cramfs_read,

View File

@ -282,7 +282,6 @@ static void devfs_delete(struct device_d *dev)
}
static struct fs_driver_d devfs_driver = {
.type = FS_TYPE_DEVFS,
.read = devfs_read,
.write = devfs_write,
.lseek = devfs_lseek,

View File

@ -543,7 +543,6 @@ static void ramfs_remove(struct device_d *dev)
}
static struct fs_driver_d ramfs_driver = {
.type = FS_TYPE_RAMFS,
.create = ramfs_create,
.unlink = ramfs_unlink,
.open = ramfs_open,

View File

@ -3,10 +3,6 @@
#include <driver.h>
#define FS_TYPE_CRAMFS 1
#define FS_TYPE_RAMFS 2
#define FS_TYPE_DEVFS 3
#define PATH_MAX 1024 /* include/linux/limits.h */
struct partition;
@ -41,7 +37,6 @@ typedef struct filep {
#define FS_DRIVER_NO_DEV 1
struct fs_driver_d {
ulong type;
char *name;
int (*probe) (struct device_d *dev);
int (*mkdir)(struct device_d *dev, const char *pathname);