net: dsa: hellcreek: Use boolean value
authorKurt Kanzenbach <kurt@kmk-computers.de>
Sat, 13 Mar 2021 09:39:37 +0000 (10:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 22:30:48 +0000 (14:30 -0800)
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>
drivers/net/dsa/hirschmann/hellcreek.c

index 4a14760..edac394 100644 (file)
@@ -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);