diff options
| author | Markus Elfring <[email protected]> | 2018-02-06 15:39:58 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-02-06 18:32:46 -0800 |
| commit | 1acd14bfe9f191dcd80df99f80ec3880a706801e (patch) | |
| tree | e74a973cc4b70b31e59af71b6661a6926bdc5a0b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 002f6f40c8e10547c2d2bc0e96de6d94ca1aa4dc (diff) | |
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/[email protected]
Signed-off-by: Markus Elfring <[email protected]>
Acked-by: Alexandre Bounine <[email protected]>
Cc: Matt Porter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions