Skip to content
Commit 7c9f335a authored by Haiyang Zhang's avatar Haiyang Zhang Committed by Sasha Levin
Browse files

hv_netvsc: Refactor assignments of struct netvsc_device_info



These assignments occur in multiple places. The patch refactor them
to a function for simplicity. It also puts the struct to heap area
for future expension.

Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
[sl: fix up subject line]
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b4a10c75
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment