yaffs Normalized headers for release branch.
[yaffs2.git] / direct / yaffs_nandif.c
index e5358a1bb983be3e8d997bae883f8f114a35bbc1..a4289490d934b3308b2811bc908fc4c52cbc9b2c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -166,7 +166,6 @@ int ynandif_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockId, yaffs_Bl
 {
        unsigned chunkNo;
        yaffs_ExtendedTags tags;
-       ynandif_Geometry *geometry = (ynandif_Geometry *)(dev->driverContext);
 
        *sequenceNumber = 0;