diff options
author | 2024-08-07 10:52:31 +0000 | |
---|---|---|
committer | 2024-08-30 08:22:34 +0200 | |
commit | 4f98f380f4662829e394c840062ea677956b57ec (patch) | |
tree | 61ff511ba1ef9aa57aba560abfe6ed1fa0947347 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Fix spelling and gramatical errors (diff) | |
download | wireguard-linux-4f98f380f4662829e394c840062ea677956b57ec.tar.xz wireguard-linux-4f98f380f4662829e394c840062ea677956b57ec.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions