From patchwork Fri May 7 01:05:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12243831 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A64B1C433B4 for ; Fri, 7 May 2021 01:05:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 527AF613C5 for ; Fri, 7 May 2021 01:05:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 527AF613C5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B7F036B00CF; Thu, 6 May 2021 21:05:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AE14A8D0001; Thu, 6 May 2021 21:05:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 90C9A6B00D1; Thu, 6 May 2021 21:05:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0107.hostedemail.com [216.40.44.107]) by kanga.kvack.org (Postfix) with ESMTP id 7117F6B00CF for ; Thu, 6 May 2021 21:05:35 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 3DE45909F for ; Fri, 7 May 2021 01:05:35 +0000 (UTC) X-FDA: 78112642230.14.673DE3C Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf13.hostedemail.com (Postfix) with ESMTP id 172DDE00011D for ; Fri, 7 May 2021 01:05:21 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id EEFB461289; Fri, 7 May 2021 01:05:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1620349534; bh=Emt1b3Nj+nzCleg3aBPjQJ14lmwVSAcKb3MyAvTg/Zg=; h=Date:From:To:Subject:In-Reply-To:From; b=U5mgCMjDDPAIar+KwWuXyn4Z7EQnrtcAUfNRpYoIQdPX9v2hZztWv/wWRDClwG0Xh u+Y4aGofbhawGy2CEKkg4HFZTr21uiZJWGiWeIihRvt/BAUZgqathofvYpYh2s88gv cTFa6yi7Nm0RRQ6fKBN05+9REa7yH/zyLHuK8PoM= Date: Thu, 06 May 2021 18:05:33 -0700 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, pbonzini@redhat.com, shuah@kernel.org, torvalds@linux-foundation.org, zhang.yunkai@zte.com.cn Subject: [patch 67/91] selftests: remove duplicate include Message-ID: <20210507010533.nNBWSQpDA%akpm@linux-foundation.org> In-Reply-To: <20210506180126.03e1baee7ca52bedb6cc6003@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=U5mgCMjD; spf=pass (imf13.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 172DDE00011D X-Stat-Signature: thyn5914u76hb4duo11trz8miqi38wyk Received-SPF: none (linux-foundation.org>: No applicable sender policy available) receiver=imf13; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1620349521-130887 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Zhang Yunkai Subject: selftests: remove duplicate include 'assert.h' included in 'sparsebit.c' is duplicated. It is also included in the 161th line. 'string.h' included in 'mincore_selftest.c' is duplicated. It is also included in the 15th line. 'sched.h' included in 'tlbie_test.c' is duplicated. It is also included in the 33th line. Link: https://lkml.kernel.org/r/20210316073336.426255-1-zhang.yunkai@zte.com.cn Signed-off-by: Zhang Yunkai Cc: Paolo Bonzini Cc: Shuah Khan Signed-off-by: Andrew Morton --- tools/testing/selftests/kvm/lib/sparsebit.c | 1 - tools/testing/selftests/mincore/mincore_selftest.c | 1 - tools/testing/selftests/powerpc/mm/tlbie_test.c | 1 - 3 files changed, 3 deletions(-) --- a/tools/testing/selftests/kvm/lib/sparsebit.c~selftests-remove-duplicate-include +++ a/tools/testing/selftests/kvm/lib/sparsebit.c @@ -1890,7 +1890,6 @@ void sparsebit_validate_internal(struct */ #include -#include struct range { sparsebit_idx_t first, last; --- a/tools/testing/selftests/mincore/mincore_selftest.c~selftests-remove-duplicate-include +++ a/tools/testing/selftests/mincore/mincore_selftest.c @@ -14,7 +14,6 @@ #include #include #include -#include #include "../kselftest.h" #include "../kselftest_harness.h" --- a/tools/testing/selftests/powerpc/mm/tlbie_test.c~selftests-remove-duplicate-include +++ a/tools/testing/selftests/powerpc/mm/tlbie_test.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include