summaryrefslogtreecommitdiff
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2021-03-13 12:39:37 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-14 01:30:48 +0300
commite81813fb56350641d8d3ba6bb6811ecaab934f10 (patch)
tree9770fd609a33e7ba7eb532e8799050fda75fde48 /drivers/net/dsa
parentba2d1c28886ceacd7da96466529f7929eaf3a498 (diff)
downloadlinux-e81813fb56350641d8d3ba6bb6811ecaab934f10.tar.xz
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')
-rw-r--r--drivers/net/dsa/hirschmann/hellcreek.c2
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);