aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/cfi_util.c
diff options
context:
space:
mode:
authorGuillaume LECERF <glecerf@gmail.com>2010-11-17 12:35:50 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-12-03 16:31:00 +0000
commitcc31822250236ec173bb2aa149ebe2ba35405db2 (patch)
treeae7e60fddaf1e414acfa4cb302280aa871c76ada /drivers/mtd/chips/cfi_util.c
parentjffs2: typo in comment (diff)
downloadlinux-dev-cc31822250236ec173bb2aa149ebe2ba35405db2.tar.xz
linux-dev-cc31822250236ec173bb2aa149ebe2ba35405db2.zip
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 'drivers/mtd/chips/cfi_util.c')
-rw-r--r--drivers/mtd/chips/cfi_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
index 360525c637d2..6ae3d111e1e7 100644
--- a/drivers/mtd/chips/cfi_util.c
+++ b/drivers/mtd/chips/cfi_util.c
@@ -156,7 +156,7 @@ void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup *fixups)
for (f=fixups; f->fixup; f++) {
if (((f->mfr == CFI_MFR_ANY) || (f->mfr == cfi->mfr)) &&
((f->id == CFI_ID_ANY) || (f->id == cfi->id))) {
- f->fixup(mtd, f->param);
+ f->fixup(mtd);
}
}
}