]> git.karo-electronics.de Git - linux-beck.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)
commitd94d02547ef9043ac04484088f7a6cd264ad7972
tree997e1355d8bee51161dbe1188a0565018bf7c2c8
parent535e7b4b5ef220be374b895684f274872aebd0f8
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