summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorRichard Gobert <richardbgobert@gmail.com>2022-11-08 13:33:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-18 11:58:26 +0100
commitdf9cddce8f99a47af8a8cf035ef367e9aa256fa5 (patch)
tree9c93035cc8a685f06c742fe7843e14c2604b0f44 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent8998db5021a28ad67aa8d627bdb4226e4046ccc4 (diff)
gro: avoid checking for a failed search
[ Upstream commit e081ecf084d31809242fb0b9f35484d5fb3a161a ] 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: Eric Dumazet <edumazet@google.com> Signed-off-by: Richard Gobert <richardbgobert@gmail.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20221108123320.GA59373@debian Signed-off-by: Paolo Abeni <pabeni@redhat.com> Stable-dep-of: 7871f54e3dee ("gro: take care of DODGY packets") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions