Skip to content
Commit c9d3fdf3 authored by Markus Elfring's avatar Markus Elfring Committed by Ralf Baechle
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-mips@linux-mips.org
Cc: LKML <linux-kernel@vger.kernel.org>
Cc: kernel-janitors@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15073/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a45526bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment