Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3886366pxb; Mon, 8 Feb 2021 02:38:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaTMGDu2MVU91Yn/tJxmJLIXR9w9mDgKimxwdHVtYDsRyMIFPk7W9XVypp3uAVGMkfzcRl X-Received: by 2002:a05:6402:149a:: with SMTP id e26mr16773022edv.254.1612780697358; Mon, 08 Feb 2021 02:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612780697; cv=none; d=google.com; s=arc-20160816; b=leH55X6tNyjtyw8tUS8/wVwkqmz4fOIsTZfZe+jYyc0aHLLSHnsaQklkKNcM7r9rXt 7d+/YFhQKmSmXK7GbcV8mmdsgG6y5MrVqMFX3ao/yekDZCxGyYuZkD1RNfHHP0gfIjeu Qr+5l/NcBb1KRj9wbMrLL7JZLUzeTkEDDEh1HvL8y62IZVr/Rs32BLOln6PgmTcbIF4a +WLUr2N5bG0bsxZRSWknOzTp0hwsoUvyqkea3tmcKc/WyaDJCLaKVsid84J6iHHDnwVs /uda+gJBRyOZM1th0uxeO//VyVtDUF6b+fuF6x61uV5g3E+NkiNp07MRmJLj46ZlnSoY VFdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=YCfNJR4GDQLHKVs9PbZyIH66cipDgzvTd4XGfGTHFt8=; b=yX+n9MuT6hE9ZMPewMXEHjDx9BeO+M1Tc6Jtl7DUzvY9olFIkFGq1n93erb30aDzVa OS75K8osWburkItrZnDYO2dyP8S9wZZ/SDF/o3gjJ5Xm4KKdG+uVU8bMf9M3Ae9q9q3B fpibycxHvlboh+6hg0YIpBG8uWcKTxmRgOQdpUj6o6fuYuV8TRD2mYRvtxyYL8uROR3C MECUqpR/Z19a4sVXmp3K0EkWYpqAsorRjSIPS6YzbOuxtydcIVoVlBSZSxV2BJ0/MLaI KPFy5w5q2bQLxBqXoJi7wCqphbuH2p5uWfB7RttxAhvxtqztQJOSp4+Fe1xG56470agR A0Ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si11225612edg.20.2021.02.08.02.37.53; Mon, 08 Feb 2021 02:38:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231993AbhBHKgz (ORCPT + 99 others); Mon, 8 Feb 2021 05:36:55 -0500 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:38489 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232218AbhBHKYr (ORCPT ); Mon, 8 Feb 2021 05:24:47 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R861e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0UOAeU-o_1612779845; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UOAeU-o_1612779845) by smtp.aliyun-inc.com(127.0.0.1); Mon, 08 Feb 2021 18:24:05 +0800 From: Yang Li To: shuah@kernel.org Cc: tyhicks@linux.microsoft.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] selftests/ipc: remove unneeded semicolon Date: Mon, 8 Feb 2021 18:24:00 +0800 Message-Id: <1612779840-77555-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warning: ./tools/testing/selftests/ipc/msgque.c:72:3-4: Unneeded semicolon ./tools/testing/selftests/ipc/msgque.c:183:2-3: Unneeded semicolon ./tools/testing/selftests/ipc/msgque.c:191:2-3: Unneeded semicolon Signed-off-by: Yang Li --- tools/testing/selftests/ipc/msgque.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/ipc/msgque.c b/tools/testing/selftests/ipc/msgque.c index 5ec4d9e..656c43c 100644 --- a/tools/testing/selftests/ipc/msgque.c +++ b/tools/testing/selftests/ipc/msgque.c @@ -69,7 +69,7 @@ int restore_queue(struct msgque_data *msgque) printf("msgsnd failed (%m)\n"); ret = -errno; goto destroy; - }; + } } return 0; @@ -180,7 +180,7 @@ int fill_msgque(struct msgque_data *msgque) IPC_NOWAIT) != 0) { printf("First message send failed (%m)\n"); return -errno; - }; + } msgbuf.mtype = ANOTHER_MSG_TYPE; memcpy(msgbuf.mtext, ANOTHER_TEST_STRING, sizeof(ANOTHER_TEST_STRING)); @@ -188,7 +188,7 @@ int fill_msgque(struct msgque_data *msgque) IPC_NOWAIT) != 0) { printf("Second message send failed (%m)\n"); return -errno; - }; + } return 0; } -- 1.8.3.1