Skip to content

Commit

Permalink
[MTD] JEDEC probe: kill some inline bloat
Browse files Browse the repository at this point in the history
$ 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>
  • Loading branch information
Ilpo Järvinen authored and David Woodhouse committed Feb 3, 2008
1 parent d0bf379 commit 53d8855
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/mtd/chips/jedec_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 53d8855

Please sign in to comment.