]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: rts5208: combine ifs where possible
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Fri, 3 Oct 2014 21:31:17 +0000 (00:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:27 +0000 (10:29 +0800)
commit175dbfae60c79a2a413abdf2d99b75089cc86e23
tree6f73e68bc1b213c1a28133b2249c926e1e0f5d95
parent8ce6b2d2b7e3d4a5d08c31b6ba5c659800c28daf
staging: rts5208: combine ifs where possible

Join together chained if's where possible to lower the indentation
level.

In a lot of places of this code the indentation level is already very
high.
As a result, this patch increases the code flow and readability.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_chip.c