summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-03 14:40:55 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-19 17:19:56 +0300
commitb33215084c1c06258a2d9deb035d343aafa4066e (patch)
treefd93b1b76a871e85b680c83de2ec4a81c3444025 /init
parente0e718c281ce1dd4006681e1255535cc6f2857d4 (diff)
downloadlinux-b33215084c1c06258a2d9deb035d343aafa4066e.tar.gz
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions