summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMeghana Madhyastha <meghana.madhyastha@gmail.com>2017-09-14 11:10:49 +0300
committerSean Paul <seanpaul@chromium.org>2017-09-20 19:53:57 +0300
commit182e61d136bd1f927e33bf4a98d1f7ebedbeba2d (patch)
treedf5815def7058269d1cece24ad8627e0840bc3db /tools/perf/scripts/python
parente3cbeaf8db3dc0b2cfd3c31dfac5bec8846d33f2 (diff)
downloadlinux-182e61d136bd1f927e33bf4a98d1f7ebedbeba2d.tar.xz
drm/agpsupport: Remove assignment in if condition
Move the assignment so that it happens before the if condition. Merged multiple similar conditionals to a single conditional statement. This results in syntax which is easier to read. Found by checkpath.pl Signed-off-by: Meghana Madhyastha <meghana.madhyastha@gmail.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/d30cb59d92c8a98d0665ef6ae2a56b364dc61098.1505376068.git.meghana.madhyastha@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions