From patchwork Thu Jun 8 08:23:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 104867 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp131594vqr; Thu, 8 Jun 2023 01:41:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pvFfYmj0SEwSQodC57bFotU04e9r8fP2ri/9n9S9rMTgIjCwRgaEDZIPPBjOihKtj618r X-Received: by 2002:ac8:7f14:0:b0:3f9:7251:3101 with SMTP id f20-20020ac87f14000000b003f972513101mr6781697qtk.8.1686213708425; Thu, 08 Jun 2023 01:41:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686213708; cv=none; d=google.com; s=arc-20160816; b=RRN74oZ4azjbq30z+tsDCwKicbL/N4uOwM5/pkWup4taCQmTPe5XZesUBpE1fvgJkJ 9BX7vzTgWnJDU8u02Nj4NDMfzdB+JPJo0VoLRBKiX8Gp25WOH//VhkPTq8aYf2Xcvtj0 BzWz8jh9onKr0x4X5n8j0WoAVC708caPKsHrchI4XeIDs1bZR9adpzoVqoBVJDiJtX0S dMuFBX3lZgrHLHUQErAsPi6/cpID+gfWkzU86iCaDyTlNWgMZq/6HSdp4zzheEE0Br9/ 4uWP8/Q3nj+ujfUvT/xqqU+0wBS3ude/wvCqDtAV1IevgH+WzAF6hkesJd76yLiPDdgo m4WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=4PL8qVVpZ5Kmjs0N4F9lf0nzcSDkbQmJnmFATbt6XXU=; b=ZwIgF8LPj6heJgaTlYa+kA/FxBG+VAHMBUoxsIcf4svOoAXaM7fpUPMs4STgfT3Sh3 hXX7l29vk7MrYA75Iy6ugw4lUQ8lXKwGFBfeJAQ1J++yhl2LrYzWwhx36Oz3Od6RdSpi KxbEKT1ouY7ZMwVS3N2dHcNBzWjJ2X+WNz6T/ALb/YoWZkifBlQd45h9sHm6+mBR+Dui cJRlITMN10a511u6CMXP6wH9VDrQ8aq4iO1NUflp2yO+G8yxjQ/BQz8PGr60Ycn1bSqr EWWKCvIH8kzbsgtEVk7vMXPSywKXwox3SMswjlCZY/0iUiN/4FYfdJqD1W/6e1yqUefY rtPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020a637b11000000b00542ad6380a3si618379pgc.881.2023.06.08.01.41.34; Thu, 08 Jun 2023 01:41:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235220AbjFHIXV (ORCPT + 99 others); Thu, 8 Jun 2023 04:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233942AbjFHIXT (ORCPT ); Thu, 8 Jun 2023 04:23:19 -0400 Received: from out30-112.freemail.mail.aliyun.com (out30-112.freemail.mail.aliyun.com [115.124.30.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3992EE43 for ; Thu, 8 Jun 2023 01:23:17 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R521e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VkdXoEh_1686212593; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VkdXoEh_1686212593) by smtp.aliyun-inc.com; Thu, 08 Jun 2023 16:23:14 +0800 From: Yang Li To: akpm@linux-foundation.org Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] kernel: Remove duplicated include in posix-stubs.c Date: Thu, 8 Jun 2023 16:23:12 +0800 Message-Id: <20230608082312.123939-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768123225630815275?= X-GMAIL-MSGID: =?utf-8?q?1768123225630815275?= ./kernel/time/posix-stubs.c: linux/syscalls.h is included more than once. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5463 Fixes: c1956519cd7e ("syscalls: add sys_ni_posix_timers prototype") Signed-off-by: Yang Li --- kernel/time/posix-stubs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/time/posix-stubs.c b/kernel/time/posix-stubs.c index 39769b2d1005..828aeecbd1e8 100644 --- a/kernel/time/posix-stubs.c +++ b/kernel/time/posix-stubs.c @@ -16,7 +16,6 @@ #include #include #include -#include #ifdef CONFIG_ARCH_HAS_SYSCALL_WRAPPER /* Architectures may override SYS_NI and COMPAT_SYS_NI */