]> git.baikalelectronics.ru Git - kernel.git/commit
netvsc: remove unnecessary check for NULL hdr
authorstephen hemminger <stephen@networkplumber.org>
Thu, 10 Aug 2017 00:46:10 +0000 (17:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 20:59:43 +0000 (13:59 -0700)
commitea5a32c00bcacce1d8ac834a70a82f95a1c79425
treefbb786e75fa6847e77ea1502f4642ea0df399fa9
parent00f5024e821e60c0d1d7df44f2577a2c277b5cc9
netvsc: remove unnecessary check for NULL hdr

The function init_page_array is always called with a valid pointer
to RNDIS header. No check for NULL is needed.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c