]> git.baikalelectronics.ru Git - kernel.git/commitdiff
octeontx2-pf: Remove unneeded semicolon
authorZheng Bin <zhengbin13@huawei.com>
Fri, 24 Apr 2020 09:13:35 +0000 (17:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:36:02 +0000 (20:36 -0700)
Fixes coccicheck warning:

drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:312:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h

index 018c283a0ac41671cb4428f91d1d0bf948750cf8..0b1c653b3449fb44d980f2b4cb2f161f373c3f16 100644 (file)
@@ -309,7 +309,7 @@ static inline void __iomem *otx2_get_regaddr(struct otx2_nic *nic, u64 offset)
        default:
                blkaddr = BLKADDR_RVUM;
                break;
-       };
+       }
 
        offset &= ~(RVU_FUNC_BLKADDR_MASK << RVU_FUNC_BLKADDR_SHIFT);
        offset |= (blkaddr << RVU_FUNC_BLKADDR_SHIFT);