diff options
author | Guillaume LECERF <glecerf@gmail.com> | 2010-11-17 12:35:50 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-12-03 17:31:00 +0100 |
commit | cc31822250236ec173bb2aa149ebe2ba35405db2 (patch) | |
tree | ae7e60fddaf1e414acfa4cb302280aa871c76ada /drivers/mtd/chips/cfi_util.c | |
parent | jffs2: typo in comment (diff) | |
download | linux-cc31822250236ec173bb2aa149ebe2ba35405db2.tar.xz linux-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.c | 2 |
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); } } } |