commit | 7788ba71a6046de1b70e7dd45ed0bc5768a4bbd9 | [log] [tgz] |
---|---|---|
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Sat Jul 19 01:00:18 2008 +0900 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Jul 25 09:59:11 2008 -0400 |
tree | c568874dc1b3e1a25c82becf64e1fae788377768 | |
parent | 4b5e33a7bf185c8d8568a807d9805fb155bcedd9 [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>