diff options
author | André Almeida <andrealmeid@collabora.com> | 2020-07-02 17:28:41 -0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-07-17 23:58:49 +0200 |
commit | d7c5ed73b19c4640426d9c106f70ec2cb532034d (patch) | |
tree | c884c39eff417e33617dee9c0a1b03fb0e7aef00 /arch/m68k/sun3x | |
parent | 9180bd467f9abdb44afde650d07e3b9dd66d837c (diff) |
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 'arch/m68k/sun3x')
0 files changed, 0 insertions, 0 deletions