]> git.baikalelectronics.ru Git - kernel.git/commit
driver: macvlan: Replace integer number with bool value
authorGao Feng <gfree.wind@gmail.com>
Mon, 14 Nov 2016 00:24:19 +0000 (08:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2016 21:36:00 +0000 (16:36 -0500)
commit1516ae7ce55188e91dec28bda7bc371a2ee0ba22
tree997e1355d8bee51161dbe1188a0565018bf7c2c8
parent8158f01fc8b34ae8e48bac92b5f4aa9b13728b15
driver: macvlan: Replace integer number with bool value

The return value of function macvlan_addr_busy is used as bool value,
so use bool value instead of integer number "1" and "0".

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