diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2019-01-15 03:51:43 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2019-01-23 21:20:10 +0300 |
commit | 7c9f335a3ff20557a92584199f3d35c7e992bbe5 (patch) | |
tree | d4f5f2ae826ce1574fc80a69941fd8fdff5e9ee7 /net/compat.c | |
parent | b4a10c750424e01b5e37372fef0a574ebf7b56c3 (diff) | |
download | linux-7c9f335a3ff20557a92584199f3d35c7e992bbe5.tar.xz |
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: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
[sl: fix up subject line]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions