driver: macvlan: Remove duplicated IFF_UP condition check in macvlan_forward_source
authorGao Feng <gfree.wind@gmail.com>
Mon, 21 Nov 2016 00:26:38 +0000 (08:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 16:58:49 +0000 (11:58 -0500)
commitfc51f2b7e5f6cc0bb1958efda18926b0c600e9d9
treee223ab19084a0a36e5bd2ab0e99d1840da1e6d57
parentdad42c3038a59d27fced28ee4ec1d4a891b28155
driver: macvlan: Remove duplicated IFF_UP condition check in macvlan_forward_source

The function macvlan_forward_source_one has already checked the flag
IFF_UP, so needn't check it outside in macvlan_forward_source too.

Signed-off-by: Gao Feng <gfree.wind@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c