mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.140,1.141
Nicolas Pitre
nico at infradead.org
Sun Jun 6 23:29:01 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv15960/drivers/mtd/chips
Modified Files:
cfi_cmdset_0001.c
Log Message:
remove impossible code since condition was already tested for before.
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- cfi_cmdset_0001.c 7 Jun 2004 03:18:13 -0000 1.140
+++ cfi_cmdset_0001.c 7 Jun 2004 03:28:59 -0000 1.141
@@ -1079,9 +1079,6 @@
map_write32 (map, *((__u32*)tmp_p), adr+z);
} else if (cfi_buswidth_is_8()) {
map_write64 (map, *((__u64*)tmp_p), adr+z);
- } else {
- ret = -EINVAL;
- goto out;
}
}
/* GO GO GO */
More information about the linux-mtd-cvs
mailing list