diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-02-06 15:39:58 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-06 18:32:46 -0800 |
commit | 1acd14bfe9f191dcd80df99f80ec3880a706801e (patch) | |
tree | e74a973cc4b70b31e59af71b6661a6926bdc5a0b /crypto | |
parent | 002f6f40c8e10547c2d2bc0e96de6d94ca1aa4dc (diff) | |
download | linux-1acd14bfe9f191dcd80df99f80ec3880a706801e.tar.bz2 |
rapidio: return an error code only as a constant in two functions
* Return an error code without storing it in an intermediate variable.
* Delete the label "out" and local variable "rc" which became unnecessary
with this refactoring.
Link: http://lkml.kernel.org/r/8db441e1-c227-64e7-4747-095da63d7a2e@users.sourceforge.net
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions