mtd/drivers/mtd/chips jedec_probe.c,1.59,1.60
Thayne Harbaugh
tharbaugh at lnxi.com
Thu Nov 18 09:13:12 EST 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv23085/drivers/mtd/chips
Modified Files:
jedec_probe.c
Log Message:
remove crufty comments about masking address bits
Index: jedec_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/jedec_probe.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- jedec_probe.c 17 Nov 2004 09:46:24 -0000 1.59
+++ jedec_probe.c 18 Nov 2004 14:13:09 -0000 1.60
@@ -1795,7 +1795,6 @@
return 0;
}
- /* Mask out address bits which are smaller than the device type */
p_cfi->addr_unlock1 = unlock_addrs[uaddr].addr1;
p_cfi->addr_unlock2 = unlock_addrs[uaddr].addr2;
@@ -1938,7 +1937,6 @@
if (MTD_UADDR_UNNECESSARY == uaddr_idx)
return 0;
- /* Mask out address bits which are smaller than the device type */
cfi->addr_unlock1 = unlock_addrs[uaddr_idx].addr1;
cfi->addr_unlock2 = unlock_addrs[uaddr_idx].addr2;
}
More information about the linux-mtd-cvs
mailing list