diff options
| author | Markus Elfring <[email protected]> | 2017-01-18 19:00:05 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-01-25 02:51:11 +0100 |
| commit | fcf4aec13b56edcfc837fa138d8b1d99b26e5ce4 (patch) | |
| tree | aa5ecc52464f31f864991ef9c0dd4fe9a038bf33 /drivers/fpga/fpga-bridge.c | |
| parent | 42b76a1d6dfede2a412567d37bd0df0cfac99adf (diff) | |
MIPS: Return directly in 32_mmap2()
* Return a failure indication without storing it
in an intermediate variable.
* Delete the local variable "error" 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/15071/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions