summaryrefslogtreecommitdiffstats
path: root/drivers/tty/mxser.h
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2019-08-29 14:28:26 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-03 22:01:15 +0200
commit3bf8c48ca7272c0ffabfa54a4a8b06b1f8416dfd (patch)
tree13b0b75459145d43a8e486187e31f2f61cc7c024 /drivers/tty/mxser.h
parent526af040548791c4693e985afff876d9e6704b20 (diff)
downloadlinux-3bf8c48ca7272c0ffabfa54a4a8b06b1f8416dfd.tar.bz2
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 <elfring@users.sourceforge.net> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20190829202842.580-2-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/mxser.h')
0 files changed, 0 insertions, 0 deletions