summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/mtdram.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-03 13:40:55 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-19 16:19:56 +0200
commitb33215084c1c06258a2d9deb035d343aafa4066e (patch)
treefd93b1b76a871e85b680c83de2ec4a81c3444025 /drivers/mtd/devices/mtdram.c
parentUBI: rename a local variable (diff)
downloadlinux-b33215084c1c06258a2d9deb035d343aafa4066e.tar.xz
linux-b33215084c1c06258a2d9deb035d343aafa4066e.zip
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 'drivers/mtd/devices/mtdram.c')
0 files changed, 0 insertions, 0 deletions