summaryrefslogtreecommitdiffstats
path: root/fs/eventfd.c
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@collabora.com>2020-07-02 22:28:41 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-07-17 23:58:49 +0200
commitd7c5ed73b19c4640426d9c106f70ec2cb532034d (patch)
treec884c39eff417e33617dee9c0a1b03fb0e7aef00 /fs/eventfd.c
parentfutex: Remove put_futex_key() (diff)
downloadlinux-d7c5ed73b19c4640426d9c106f70ec2cb532034d.tar.xz
linux-d7c5ed73b19c4640426d9c106f70ec2cb532034d.zip
futex: Remove needless goto's
As stated in the coding style documentation, "if there is no cleanup needed then just return directly", instead of jumping to a label and then returning. Remove such goto's and replace with a return statement. When there's a ternary operator on the return value, replace it with the result of the operation when it is logically possible to determine it by the control flow. Signed-off-by: André Almeida <andrealmeid@collabora.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200702202843.520764-3-andrealmeid@collabora.com
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions