Skip to content
Commit 34a49d9e authored by Tobias Nießen's avatar Tobias Nießen Committed by Greg Kroah-Hartman
Browse files

staging: rts5208: Rewrite redundant if statement to improve code style



This commit uses the fact that

    if (a) {
            if (b) {
                    ...
            }
    }

can instead be written as

    if (a && b) {
            ...
    }

without any change in behavior, allowing to decrease the indentation
of the contained code block and thus reducing the average line length.

Signed-off-by: default avatarTobias Nießen <tobias.niessen@stud.uni-hannover.de>
Signed-off-by: default avatarSabrina Gaube <sabrina-gaube@web.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7ff9f78e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment