From: Haiyang Zhang <[email protected]> Sent: Monday, January 14, 2019 4:52 PM > > 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]> > --- > drivers/net/hyperv/netvsc_drv.c | 134 ++++++++++++++++++++------------ > 1 file changed, 85 insertions(+), 49 deletions(-) > Reviewed-by: Michael Kelley <[email protected]>

