aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorGaurav Jindal <[email protected]>2017-09-01 19:26:38 +0000
committerRafael J. Wysocki <[email protected]>2017-11-08 22:15:30 +0000
commit3fc74bd8a723c91a5b4627079c511fcaf3c75017 (patch)
tree40a72ec4155953cb36261df89baae05c4487abcb /lib/mpi/mpi-cmp.c
parentcpuidle: Clean up cpuidle_enable_device() error handling a bit (diff)
downloadkernel-3fc74bd8a723c91a5b4627079c511fcaf3c75017.tar.gz
kernel-3fc74bd8a723c91a5b4627079c511fcaf3c75017.zip
cpuidle: Avoid assignment in if () argument
Clean up cpuidle_enable_device() to avoid doing an assignment in an expression evaluated as an argument of if (), which also makes the code in question more readable. Signed-off-by: Gaurav Jindal <[email protected]> [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions