diff options
author | 2024-09-02 09:52:27 +0200 | |
---|---|---|
committer | 2024-09-02 10:21:41 +0200 | |
commit | 40a024b81d1cbad6bc8cd960481f025b43712b01 (patch) | |
tree | c290a20c6f549f22cd93e6c9004d2bcd12a74746 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ALSA: core: timer: Use NSEC_PER_SEC macro (diff) | |
download | wireguard-linux-40a024b81d1cbad6bc8cd960481f025b43712b01.tar.xz wireguard-linux-40a024b81d1cbad6bc8cd960481f025b43712b01.zip |
ALSA: core: Drop superfluous no_free_ptr() for memdup_user() errors
We used to wrap with no_free_ptr() for the return value from
memdup_user() with errors where the auto cleanup is applied. This was
a workaround because the initial implementation of kfree auto-cleanup
checked only NULL pointers.
Since recently, though, the kfree auto-cleanup checks with
IS_ERR_OR_NULL() (by the commit cd7eb8f83fcf ("mm/slab: make
__free(kfree) accept error pointers")), hence those workarounds became
superfluous. Let's drop them now.
Link: https://patch.msgid.link/20240902075246.3743-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions