diff options
| author | Markus Elfring <[email protected]> | 2017-01-18 19:30:47 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-01-25 02:51:11 +0100 |
| commit | c9d3fdf3372d06690fd5cbc1ac5beabe52927382 (patch) | |
| tree | 7512f0e37bf7eed648b5be9c67d22dd5b3209e37 /drivers/fpga/fpga-bridge.c | |
| parent | a45526bb78529911eb6b2525347762e977fce125 (diff) | |
MIPS: syscall: Return directly in mips_mmap()
* Return an error code without storing it in an intermediate variable.
* Delete the local variable "result" which became unnecessary with
this refactoring.
Signed-off-by: Markus Elfring <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: [email protected]
Cc: LKML <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/15073/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions