diff options
author | Haiyang Zhang <[email protected]> | 2019-01-15 00:51:43 +0000 |
---|---|---|
committer | Sasha Levin <[email protected]> | 2019-01-23 13:20:10 -0500 |
commit | 7c9f335a3ff20557a92584199f3d35c7e992bbe5 (patch) | |
tree | d4f5f2ae826ce1574fc80a69941fd8fdff5e9ee7 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b4a10c750424e01b5e37372fef0a574ebf7b56c3 (diff) |
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 <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
[sl: fix up subject line]
Signed-off-by: Sasha Levin <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions