From patchwork Tue Mar 23 03:23:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiabing Wan X-Patchwork-Id: 12156737 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 ED886C433DB for ; Tue, 23 Mar 2021 03:24:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5D8E1619AC for ; Tue, 23 Mar 2021 03:24:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D8E1619AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vivo.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8C6A46B0139; Mon, 22 Mar 2021 23:24:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 876496B013D; Mon, 22 Mar 2021 23:24:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 73E1F6B013F; Mon, 22 Mar 2021 23:24:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0109.hostedemail.com [216.40.44.109]) by kanga.kvack.org (Postfix) with ESMTP id 55CE06B0139 for ; Mon, 22 Mar 2021 23:24:15 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id F25DA180AD830 for ; Tue, 23 Mar 2021 03:24:14 +0000 (UTC) X-FDA: 77949695628.19.85FE9B6 Received: from mail-m17637.qiye.163.com (mail-m17637.qiye.163.com [59.111.176.37]) by imf25.hostedemail.com (Postfix) with SMTP id D1EDB6000102 for ; Tue, 23 Mar 2021 03:24:12 +0000 (UTC) Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 4B3B3980567; Tue, 23 Mar 2021 11:23:53 +0800 (CST) From: Wan Jiabing To: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] mm: process_vm_access: Remove duplicate include of compat.h Date: Tue, 23 Mar 2021 11:23:22 +0800 Message-Id: <20210323032322.262579-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZSE5NSEJJSkIfSRhCVkpNSk1PTUJDT0tPTEpVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NzY6ITo*Kz8TODpLIyw2SCEP FEhPCwFVSlVKTUpNT01CQ09JSU5JVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKT0tONwY+ X-HM-Tid: 0a785d1c4e8fd992kuws4b3b3980567 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: D1EDB6000102 X-Stat-Signature: 4tpy4wnewi1zxpi5n8mrjsmxbzk3b8mo Received-SPF: none (vivo.com>: No applicable sender policy available) receiver=imf25; identity=mailfrom; envelope-from=""; helo=mail-m17637.qiye.163.com; client-ip=59.111.176.37 X-HE-DKIM-Result: none/none X-HE-Tag: 1616469852-905189 X-Bogosity: Ham, tests=bogofilter, spamicity=0.211556, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: linux/compat.h has been included at line 8.So we remove the duplicate one at line 12. Signed-off-by: Wan Jiabing --- mm/process_vm_access.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c index f5fee9cf90f8..4bcc11958089 100644 --- a/mm/process_vm_access.c +++ b/mm/process_vm_access.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include