summaryrefslogtreecommitdiff
path: root/net/rfkill
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2023-05-11 04:12:13 +0300
committerDavid S. Miller <davem@davemloft.net>2023-05-13 21:47:56 +0300
commit278fda0d52f67244044384abd7dd5b3a5b3a5604 (patch)
treea8691d13f82530a403666001cbe6df89d81a5b66 /net/rfkill
parentb51f4113ebb02011f0ca86abc3134b28d2071b6a (diff)
downloadlinux-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