aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-07-19 01:00:18 +0900
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-25 09:59:11 -0400
commit7788ba71a6046de1b70e7dd45ed0bc5768a4bbd9 (patch)
treec568874dc1b3e1a25c82becf64e1fae788377768 /init
parent4b5e33a7bf185c8d8568a807d9805fb155bcedd9 (diff)
[MTD][MTDPART] Seperate main loop from per-partition code in add_mtd_partition
add_mtd_partition was a 150+ line monster consisting mostly of a single loop. Seperate the loop from most of the body. Now it should be obvious which variables are carried around from iteration to iteration. Signed-off-by: Jörn Engel <joern@logfs.org> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions