diff options
author | Joe Damato <jdamato@fastly.com> | 2024-08-07 10:52:31 +0000 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-30 08:22:34 +0200 |
commit | 4f98f380f4662829e394c840062ea677956b57ec (patch) | |
tree | 61ff511ba1ef9aa57aba560abfe6ed1fa0947347 /tools/perf/scripts/python/libxed.py | |
parent | 28c7658b2c4a21223c194084a59d712765e8112d (diff) |
eventpoll: Don't re-zero eventpoll fields
Remove redundant and unnecessary code.
ep_alloc uses kzalloc to create struct eventpoll, so there is no need to
set fields to defaults of 0. This was accidentally introduced in commit
85455c795c07 ("eventpoll: support busy poll per epoll instance") and
expanded on in follow-up commits.
Signed-off-by: Joe Damato <jdamato@fastly.com>
Link: https://lore.kernel.org/r/20240807105231.179158-1-jdamato@fastly.com
Reviewed-by: Martin Karsten <mkarsten@uwaterloo.ca>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions