diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2023-05-11 04:12:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-13 21:47:56 +0300 |
commit | 278fda0d52f67244044384abd7dd5b3a5b3a5604 (patch) | |
tree | a8691d13f82530a403666001cbe6df89d81a5b66 /net/rfkill | |
parent | b51f4113ebb02011f0ca86abc3134b28d2071b6a (diff) | |
download | linux-278fda0d52f67244044384abd7dd5b3a5b3a5604.tar.xz |
net: remove __skb_frag_set_page()
The remaining users calling __skb_frag_set_page() with
page being NULL seems to be doing defensive programming,
as shinfo->nr_frags is already decremented, so remove
them.
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions