]> Cypherpunks repositories - gostls13.git/commit
syscall: simplify return in Futimesat and Mount
authorTobias Klauser <tklauser@distanz.ch>
Thu, 26 Oct 2017 08:10:25 +0000 (10:10 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 27 Oct 2017 07:17:34 +0000 (07:17 +0000)
commitdc97f4103cbeac291ec6685d9f0d4e621fe4e133
tree7d4aa3065fc79d7dcb1b464e4e1975062b2637ca
parent7a8e8b2f19c423b07a86adcd41b91575b7ecd875
syscall: simplify return in Futimesat and Mount

Directly return error instead of assigning to err and then returning.

Change-Id: Ie5c466cac70cc6d52ee72ebba3e497e0da8a5797
Reviewed-on: https://go-review.googlesource.com/73531
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/syscall_linux.go