gro: avoid checking for a failed search
After searching for a protocol handler in dev_gro_receive, checking for failure is redundant. Skip the failure code after finding the corresponding handler. Suggested-by: NEric Dumazet <edumazet@google.com> Signed-off-by: NRichard Gobert <richardbgobert@gmail.com> Reviewed-by: NEric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20221108123320.GA59373@debianSigned-off-by: NPaolo Abeni <pabeni@redhat.com>
Showing
想要评论请 注册 或 登录