sysfs: no need for else, just return

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-04-17 09:30:41 +02:00
parent 227b52889e
commit fd55da83a1
1 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,6 @@ func (sys *NativeSyscall) Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err
func (sys *MockSyscall) Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
if sys.Impl != nil {
return sys.Impl(trap, a1, a2, a3)
} else {
}
return 0, 0, 0
}
}