summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorBui Quang Minh <minhquangbui99@gmail.com>2025-06-30 17:42:11 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-07-03 11:56:55 +0300
commit4be2193b3393dca33504793fe7586fed547abb5d (patch)
treec8243b512778c1bf3cd99db0a63963fae4db36f0 /net/lapb/lapb_timer.c
parent315dbdd7cdf6aa533829774caaf4d25f1fd20e73 (diff)
downloadlinux-4be2193b3393dca33504793fe7586fed547abb5d.tar.xz
virtio-net: remove redundant truesize check with PAGE_SIZE
The truesize is guaranteed not to exceed PAGE_SIZE in get_mergeable_buf_len(). It is saved in mergeable context, which is not changeable by the host side, so the check in receive path is quite redundant. Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com> Link: https://patch.msgid.link/20250630144212.48471-3-minhquangbui99@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions