summaryrefslogtreecommitdiffstats
path: root/fs/devfs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-11-23 02:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-11-23 02:00:47 +0000
commit06615f62b17d7de6e12d2f5ec6b88cf30af08413 (patch)
tree8766f208847d4876a6db619aebbf54d53b76eb44 /fs/devfs
parentfa9bdb574f4febb751848a685d9a9017e04e1d53 (diff)
Merge with Linux 2.4.0-test10.
Diffstat (limited to 'fs/devfs')
-rw-r--r--fs/devfs/base.c2
-rw-r--r--fs/devfs/util.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/devfs/base.c b/fs/devfs/base.c
index 3ffb8275e..264992d3f 100644
--- a/fs/devfs/base.c
+++ b/fs/devfs/base.c
@@ -654,7 +654,7 @@ struct devfs_entry
};
/* The root of the device tree */
-static struct devfs_entry *root_entry = NULL;
+static struct devfs_entry *root_entry;
struct devfsd_buf_entry
{
diff --git a/fs/devfs/util.c b/fs/devfs/util.c
index 9f71763b1..05b681b6c 100644
--- a/fs/devfs/util.c
+++ b/fs/devfs/util.c
@@ -114,8 +114,8 @@ void devfs_register_tape (devfs_handle_t de)
int pos;
devfs_handle_t parent, slave;
char name[16], dest[64];
- static unsigned int tape_counter = 0;
- static devfs_handle_t tape_dir = NULL;
+ static unsigned int tape_counter;
+ static devfs_handle_t tape_dir;
if (tape_dir == NULL) tape_dir = devfs_mk_dir (NULL, "tapes", NULL);
parent = devfs_get_parent (de);