IB/hns: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 25 Jul 2017 05:36:25 +0000 (13:36 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Jul 2017 18:52:05 +0000 (14:52 -0400)
drivers/infiniband/hw/hns/hns_roce_eq.c:295:3-4: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 7d1b6a678e0b ("IB/hns: Support compile test for hns RoCE driver")
CC: Matan Barak <matanb@mellanox.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_eq.c

index 50f8649..0881813 100644 (file)
@@ -292,7 +292,7 @@ static int hns_roce_aeq_int(struct hns_roce_dev *hr_dev, struct hns_roce_eq *eq)
                        dev_warn(dev, "Unhandled event %d on EQ %d at index %u\n",
                                 event_type, eq->eqn, eq->cons_index);
                        break;
-               };
+               }
 
                eq->cons_index++;
                aeqes_found = 1;