]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ipvlan: Remove redundant if statements
authorXu Wang <vulab@iscas.ac.cn>
Thu, 2 Dec 2021 07:53:59 +0000 (07:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 13:07:38 +0000 (13:07 +0000)
commit0c4789460e8cc6a84f10a06ba9410a31432550e1
tree73f0d52171e686ab33600820fd046aaea4c0d577
parentcc9cf69eea4847c8d6db6114b0e094fb51736c33
ipvlan: Remove redundant if statements

The 'if (dev)' statement already move into dev_{put , hold}, so remove
redundant if statements.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_core.c
drivers/net/ipvlan/ipvlan_main.c