]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/yaffs2/yaffsfs.c
Merge branch 'u-boot-sunxi/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / fs / yaffs2 / yaffsfs.c
index 334598eedff9bf4e46d6d3a5b25371ea11461486..41e5f0108cf177a6aff51479da2360388bc01892 100644 (file)
@@ -3136,10 +3136,6 @@ int yaffs_link(const YCHAR *oldpath, const YCHAR *linkpath)
 
 int yaffs_mknod(const YCHAR *pathname, mode_t mode, dev_t dev)
 {
-       pathname = pathname;
-       mode = mode;
-       dev = dev;
-
        yaffsfs_SetError(-EINVAL);
        return -1;
 }
@@ -3187,9 +3183,7 @@ int yaffs_set_error(int error)
 
 int yaffs_dump_dev(const YCHAR *path)
 {
-#if 1
-       path = path;
-#else
+#if 0
        YCHAR *rest;
 
        struct yaffs_obj *obj = yaffsfs_FindRoot(path, &rest);