]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] JEDEC probe: kill some inline bloat
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Mon, 7 Jan 2008 16:00:17 +0000 (18:00 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 3 Feb 2008 06:55:41 +0000 (17:55 +1100)
$ codiff $OBJ.old $OBJ
drivers/mtd/chips/jedec_probe.c:
  cfi_jedec_setup  | -320
  jedec_probe_chip | -7073
 2 functions changed, 7393 bytes removed, diff: -7393

drivers/mtd/chips/jedec_probe.c:
  jedec_reset | +1151
 1 function changed, 1151 bytes added, diff: +1151

drivers/mtd/chips/jedec_probe.o:
 3 functions changed, 1151 bytes added, 7393 bytes removed, diff: -6242

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/jedec_probe.c

index 64059384521860dafa0dbbb220b2669efc2c9db6..4204bb23a1751a385a5701de68eb10d458c0592e 100644 (file)
@@ -1676,8 +1676,7 @@ static inline u32 jedec_read_id(struct map_info *map, uint32_t base,
        return result.x[0] & mask;
 }
 
-static inline void jedec_reset(u32 base, struct map_info *map,
-       struct cfi_private *cfi)
+static void jedec_reset(u32 base, struct map_info *map, struct cfi_private *cfi)
 {
        /* Reset */