net: hdlc_fr: remove space after '!'
authorPeng Li <lipeng321@huawei.com>
Fri, 28 May 2021 00:12:46 +0000 (08:12 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 May 2021 21:08:11 +0000 (14:08 -0700)
According to the chackpatch.pl, space prohibited after that '!'.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wan/hdlc_fr.c

index fa10eea..77b4f65 100644 (file)
@@ -789,8 +789,8 @@ static int fr_lmi_recv(struct net_device *dev, struct sk_buff *skb)
                }
                i++;
 
-               new = !! (skb->data[i + 2] & 0x08);
-               active = !! (skb->data[i + 2] & 0x02);
+               new = !!(skb->data[i + 2] & 0x08);
+               active = !!(skb->data[i + 2] & 0x02);
                if (lmi == LMI_CISCO) {
                        dlci = (skb->data[i] << 8) | skb->data[i + 1];
                        bw = (skb->data[i + 3] << 16) |