netvsc: Remove redundant use of ipv6_hdr()
authorMohammed Gamal <mgamal@redhat.com>
Mon, 24 Jul 2017 17:57:26 +0000 (10:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:38:28 +0000 (17:38 -0700)
commit37b9dfa0d833227bc65353eec9dd0b00e1545a00
treea2b17df12964b1b2cd891c9166f00830f57da7bf
parentfd763ad96ae5a4aa76ce00b4090b6044c63c18ed
netvsc: Remove redundant use of ipv6_hdr()

This condition already uses an object of type ipv6hdr in the line above.
Use the object directly instead of calling ipv6_hdr

Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c