Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751597AbdFGU0o (ORCPT ); Wed, 7 Jun 2017 16:26:44 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38709 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbdFGU0n (ORCPT ); Wed, 7 Jun 2017 16:26:43 -0400 X-IronPort-AV: E=Sophos;i="5.39,311,1493676000"; d="scan'208";a="227567236" Date: Wed, 7 Jun 2017 22:26:40 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Matan Barak cc: kbuild-all@01.org, Leon Romanovsky , Yishai Hadas , Doug Ledford , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] IB/core: fix semicolon.cocci warnings Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 567 Lines: 23 Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Matan Barak Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- uverbs_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/infiniband/core/uverbs_ioctl.c +++ b/drivers/infiniband/core/uverbs_ioctl.c @@ -114,7 +114,7 @@ static int uverbs_process_attr(struct ib break; default: return -EOPNOTSUPP; - }; + } set_bit(attr_id, attr_array->valid_bitmap); return 0;