summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorGargi Sharma <gs051095@gmail.com>2017-02-19 22:14:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 11:17:02 +0300
commit0743a78fde7cc561ad53b657be693e7f9981a73a (patch)
tree90e473ca82352e4d14235a0cd39dca3db2630cec /scripts/cleanpatch
parent47db0f6c9a2210dc5a7c45551d63d7d69b5600a6 (diff)
downloadlinux-0743a78fde7cc561ad53b657be693e7f9981a73a.tar.xz
staging: media: Remove ternary operator
Relational and logical operators evaluate to either true or false. Explicit conversion is not needed so remove the ternary operator. Done using coccinelle: @r@ expression A,B; symbol true,false; binary operator b = {==,!=,&&,||,>=,<=,>,<}; @@ - (A b B) ? true : false + A b B Signed-off-by: Gargi Sharma <gs051095@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions