aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-cpu-debug.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2019-08-29 20:28:26 +0000
committerGreg Kroah-Hartman <[email protected]>2019-09-03 20:01:15 +0000
commit3bf8c48ca7272c0ffabfa54a4a8b06b1f8416dfd (patch)
tree13b0b75459145d43a8e486187e31f2f61cc7c024 /drivers/hwtracing/coresight/coresight-cpu-debug.c
parentMerge tag 'fpga-cvp-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-3bf8c48ca7272c0ffabfa54a4a8b06b1f8416dfd.tar.gz
kernel-3bf8c48ca7272c0ffabfa54a4a8b06b1f8416dfd.zip
coresight: etm4x: Two function calls less
Avoid an extra function call in two function implementations by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-cpu-debug.c')
0 files changed, 0 insertions, 0 deletions