Commit 3cd86490 authored by Dario Binacchi's avatar Dario Binacchi Committed by Marc Kleine-Budde
Browse files

can: slcan: use the BIT() helper

parent 50f29440
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -413,7 +413,7 @@ static int slc_open(struct net_device *dev)
	if (sl->tty == NULL)
		return -ENODEV;

	sl->flags &= (1 << SLF_INUSE);
	sl->flags &= BIT(SLF_INUSE);
	netif_start_queue(dev);
	return 0;
}