commit | c956ef085f5685b47bd7a66d0bff5abcb0a50484 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sat Feb 16 14:25:56 2013 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sat Feb 16 14:25:56 2013 +0100 |
tree | 0c89f1af9b794d600fede0f0d14c4fe479011dc6 | |
parent | 5721cdbcdba76eef854a30e7e56e328eae976e44 [diff] |
Simple optimization in get_error * defs.h: Define SCNO_IN_RANGE(scno) macro. * syscall.c (get_error): Change return type to void. Use SCNO_IN_RANGE instead of SCNO_IS_VALID. (trace_syscall_exiting): Stop checking get_error() return value. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>