diff options
author | 2020-12-17 13:26:48 +0800 | |
---|---|---|
committer | 2021-01-05 19:07:42 +0100 | |
commit | 91a8f6cb06b33adc79fbf5f7381d907485767c00 (patch) | |
tree | 95006acddbfcb9bbfd344de896f2da3e744df02a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/mtrr: Convert comma to semicolon (diff) | |
download | wireguard-linux-91a8f6cb06b33adc79fbf5f7381d907485767c00.tar.xz wireguard-linux-91a8f6cb06b33adc79fbf5f7381d907485767c00.zip |
x86/mm: Refine mmap syscall implementation
It is unnecessary to use the local variable 'error' in the mmap syscall
implementation function - just return -EINVAL directly and get rid of
the local variable altogether.
[ bp: Massage commit message. ]
Signed-off-by: Adrian Huang <ahuang12@lenovo.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lkml.kernel.org/r/20201217052648.24656-1-adrianhuang0701@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions