diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-18 12:00:18 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-25 09:59:11 -0400 |
commit | 7788ba71a6046de1b70e7dd45ed0bc5768a4bbd9 (patch) | |
tree | c568874dc1b3e1a25c82becf64e1fae788377768 /drivers/usb | |
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>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions