diff options
author | Eric W. Biederman <[email protected]> | 2020-11-20 17:14:37 -0600 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2020-12-10 12:42:59 -0600 |
commit | aa384d10f3d06d4b85597ff5df41551262220e16 (patch) | |
tree | 40a3e77005d7f223a331fe0225cdcb2be5277d9c /tools/perf/scripts/python | |
parent | e06b53c22f31ebba4c46d02fb3a58336135db45c (diff) |
file: Merge __alloc_fd into alloc_fd
The function __alloc_fd was added to support binder[1]. With binder
fixed[2] there are no more users.
As alloc_fd just calls __alloc_fd with "files=current->files",
merge them together by transforming the files parameter into a
local variable initialized to current->files.
[1] dcfadfa4ec5a ("new helper: __alloc_fd()")
[2] 44d8047f1d87 ("binder: use standard functions to allocate fds")
Acked-by: Christian Brauner <[email protected]>
v1: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions