be2net: use be_virtfn() instead of !be_physfn()
authorKalesh AP <kalesh.purayil@emulex.com>
Wed, 6 May 2015 09:30:38 +0000 (05:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:27:04 +0000 (16:27 -0400)
commit18c57c74a12031144fd63a055a0a159ac218aaab
treefcfa794445e3c1fcf184fc13c62bbe33a578dc5e
parenta6e6ff6eee12f3edc7630e81993bf880a4f0d340
be2net: use be_virtfn() instead of !be_physfn()

Use be_virtfn() to determine a VF instead of !be_physfn() for better
readability.

Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c