commit | b33215084c1c06258a2d9deb035d343aafa4066e | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Sep 03 14:40:55 2010 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Oct 19 17:19:56 2010 +0300 |
tree | fd93b1b76a871e85b680c83de2ec4a81c3444025 | |
parent | e0e718c281ce1dd4006681e1255535cc6f2857d4 [diff] |
UBI: change cascade of ifs to switch statements This patch improves readability and simplifies scanning code by changing a long cascade of 'if' statements to a switch statement. This should presumably be a little faster as well. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>