summaryrefslogtreecommitdiff
path: root/include/linux/mtd/cfi.h
diff options
context:
space:
mode:
authorGuillaume LECERF <glecerf@gmail.com>2010-11-17 14:35:50 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-12-03 19:31:00 +0300
commitcc31822250236ec173bb2aa149ebe2ba35405db2 (patch)
treeae7e60fddaf1e414acfa4cb302280aa871c76ada /include/linux/mtd/cfi.h
parent027d9ac2c8de9f70b7319e08dee121b8b85c8d88 (diff)
downloadlinux-cc31822250236ec173bb2aa149ebe2ba35405db2.tar.xz
mtd: cfi_fixup: remove unused 'param' parameter
The 'param' parameter has never been used since its introduction, so simply remove it. Signed-off-by: Guillaume LECERF <glecerf@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd/cfi.h')
-rw-r--r--include/linux/mtd/cfi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mtd/cfi.h b/include/linux/mtd/cfi.h
index 4dd0c2cd7659..a9baee6864af 100644
--- a/include/linux/mtd/cfi.h
+++ b/include/linux/mtd/cfi.h
@@ -527,8 +527,7 @@ struct cfi_extquery *cfi_read_pri(struct map_info *map, uint16_t adr, uint16_t s
struct cfi_fixup {
uint16_t mfr;
uint16_t id;
- void (*fixup)(struct mtd_info *mtd, void* param);
- void* param;
+ void (*fixup)(struct mtd_info *mtd);
};
#define CFI_MFR_ANY 0xFFFF