diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2023-05-11 09:12:13 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-05-13 19:47:56 +0100 |
| commit | 278fda0d52f67244044384abd7dd5b3a5b3a5604 (patch) | |
| tree | a8691d13f82530a403666001cbe6df89d81a5b66 /lib/mpi/mpi-sub-ui.c | |
| parent | b51f4113ebb02011f0ca86abc3134b28d2071b6a (diff) | |
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
