diff options
author | Kurt Kanzenbach <kurt@kmk-computers.de> | 2021-03-13 10:39:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-13 14:30:48 -0800 |
commit | e81813fb56350641d8d3ba6bb6811ecaab934f10 (patch) | |
tree | 9770fd609a33e7ba7eb532e8799050fda75fde48 /drivers/net/dsa/hirschmann | |
parent | ba2d1c28886ceacd7da96466529f7929eaf3a498 (diff) |
net: dsa: hellcreek: Use boolean value
hellcreek_select_vlan() takes a boolean instead of an integer.
So, use false accordingly.
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/hirschmann')
-rw-r--r-- | drivers/net/dsa/hirschmann/hellcreek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/hirschmann/hellcreek.c b/drivers/net/dsa/hirschmann/hellcreek.c index 4a14760e2680..edac39462a07 100644 --- a/drivers/net/dsa/hirschmann/hellcreek.c +++ b/drivers/net/dsa/hirschmann/hellcreek.c @@ -433,7 +433,7 @@ static void hellcreek_unapply_vlan(struct hellcreek *hellcreek, int port, mutex_lock(&hellcreek->reg_lock); - hellcreek_select_vlan(hellcreek, vid, 0); + hellcreek_select_vlan(hellcreek, vid, false); /* Setup port vlan membership */ hellcreek_select_vlan_params(hellcreek, port, &shift, &mask); |