diff options
author | 2022-09-22 19:31:38 -0700 | |
---|---|---|
committer | 2022-09-22 19:31:39 -0700 | |
commit | d05d9eb79d0cd0f7a978621b4a56a1f2db444f86 (patch) | |
tree | aae0399fa402ff72d8abae39bc88c5ac944ff24d /net/core/xdp.c | |
parent | ptp_ocp: use device_find_any_child() instead of custom approach (diff) | |
parent | net: dsa: xrs700x: remove unnecessary dev_set_drvdata() (diff) | |
download | wireguard-linux-d05d9eb79d0cd0f7a978621b4a56a1f2db444f86.tar.xz wireguard-linux-d05d9eb79d0cd0f7a978621b4a56a1f2db444f86.zip |
Merge branch 'net-dsa-remove-unnecessary-set_drvdata'
Yang Yingliang says:
====================
net: dsa: remove unnecessary set_drvdata()
In this patch set, I removed all set_drvdata(NULL) functions
in ->remove() in drivers/net/dsa/.
The driver_data will be set to NULL in device_unbind_cleanup()
after calling ->remove(), so all set_drvdata(NULL) functions
in ->remove() is redundant, they can be removed.
Here is the previous patch set:
https://lore.kernel.org/netdev/facfc855-d082-cc1c-a0bc-027f562a2f45@huawei.com/T/
====================
Link: https://lore.kernel.org/r/20220921140524.3831101-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/xdp.c')
0 files changed, 0 insertions, 0 deletions