aboutsummaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRebecca Mckeever <[email protected]>2022-04-07 20:12:50 -0500
committerGreg Kroah-Hartman <[email protected]>2022-04-08 15:43:35 +0200
commit49ce1b1fbca89e8c4b1cbbd7064b26f7b9d1a365 (patch)
tree3f55508114013f390cb36f14e84a423dbd80c34b /scripts/const_structs.checkpatch
parentbc4f661a45205ccd60bae2641b1be2333621c90c (diff)
staging: rtl8192u: replace ternary statement with if and assignment
Replace ternary statement with an if statement followed by an assignment to increase readability and make error handling more obvious. Found with minmax coccinelle script. Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Rebecca Mckeever <[email protected]> Link: https://lore.kernel.org/r/36059ec66a2f3d58a8e339aa4f262772eabd3ef0.1649378587.git.remckee0@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions