Commit cd549bd6 authored by Arthur Kiyanovski's avatar Arthur Kiyanovski Committed by Greg Kroah-Hartman
Browse files

net: ena: Extract recurring driver reset code into a function



[ Upstream commit 9fe890cc ]

Create an inline function for resetting the driver
to reduce code duplication.

Signed-off-by: default avatarNati Koler <nkoler@amazon.com>
Signed-off-by: default avatarArthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 2dc8b1e7 ("net: ena: Fix redundant device NUMA node override")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4ad48d7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment