hyperv: netvsc: Neaten netvsc_send_pkt by using a temporary
authorJoe Perches <joe@perches.com>
Mon, 31 Jul 2017 17:30:54 +0000 (10:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2017 17:36:00 +0000 (10:36 -0700)
commit956a25c9f120343a9b6ab6564539158ec7237181
treee4d04eb27d3224f570e15f711920f896709f72dc
parentcb5b136c0095d434cb63495da8efb6a3d663a38f
hyperv: netvsc: Neaten netvsc_send_pkt by using a temporary

Repeated dereference of nvmsg.msg.v1_msg.send_rndis_pkt can be
shortened by using a temporary.  Do so.

No change in object code.

Miscellanea:

o Use * const for rpkt and nvchan

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c