Staging: vt6656: Combine "else { if" to "else if"
authorSimon Schuster <linux@rationality.eu>
Sat, 4 Jan 2014 15:25:13 +0000 (16:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 01:17:58 +0000 (17:17 -0800)
commitfd2251e2331d26184cea15fc28a0cabebca8d321
tree42fd3f91eafc171182cc509dddce9eada9671590
parent6c64bf8af95efe8ad288eda526d7460b02f00d52
Staging: vt6656: Combine "else { if" to "else if"

This patch combines single ifs within the block of an else to a single
else if statement.

Therefore code that looks like that

else {
if (cond) {
statements;
} else {
other_statements;
}
}

is converted to code that looks like that

else if (cond) {
statements;
} else {
other_statements;
}

Signed-off-by: Sebastian Rachuj <sebastian.rachuj@studium.uni-erlangen.de>
Signed-off-by: Simon Schuster <linux@rationality.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/bssdb.c