]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d6ae6653e6906220e1b9bab2718ca6b6ad9b950
treea2b17df12964b1b2cd891c9166f00830f57da7bf
parent11bc5e125717f7355dbe2c0569ee5b1a4b330112
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