From: Haiyang Zhang <haiya...@microsoft.com> 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 <haiya...@microsoft.com> > --- > drivers/net/hyperv/netvsc_drv.c | 134 ++++++++++++++++++++------------ > 1 file changed, 85 insertions(+), 49 deletions(-) > Reviewed-by: Michael Kelley <mikel...@microsoft.com>