Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp235659lqe; Wed, 27 Mar 2024 04:29:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXtssDOFsWGkzs0+dcOIKtrl+SutjdHYWL4gDUECsTzhtmXFOZySw2cCn12IvDgNIjdq+SuVX3N19enYzyxwffT72xu2HwxCBHPC1ZtXQ== X-Google-Smtp-Source: AGHT+IG1e94hfvOqjM2dXtvAPsxct/k0epXinngBJTqV68Q9GpG0pTubPCAjGYCeV1XKFIXonLNK X-Received: by 2002:a17:903:124f:b0:1dd:d0b0:ca86 with SMTP id u15-20020a170903124f00b001ddd0b0ca86mr2785805plh.59.1711538950513; Wed, 27 Mar 2024 04:29:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711538950; cv=pass; d=google.com; s=arc-20160816; b=HBFCrV9rL/LlH9tXqhJrKVbO5w30k+NaB9qScvp6gwZ9LGJenxuRUsjzTqZQOUynYM RxQixi2pCb0qvS94QRXBR7UUxBMntOX29H98cwphSJMBD1rA3YwwQDmfs1WzB4Ar32f4 Ga7eXNSIQ1Xf8vLmrGYIP9P8AxZdQZMMOKAZDvJormAuK3ITpMUknwF9SPF4B5E33Jr/ 64wf22f6Gdt9HJMmUffDA96SF+4GX0PgjsZA8jlhPzKMeC52qwp6IZX8EGZoE7KF8O9n S1hM+iw6tvYwDi6WIF/p6bAbsGLc7SRSRLnWUxWE1l5VzXZML+9ZirgNvlSMuICYZXvJ W4Og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=mBnzZJVBnyacqKZqkt/gZxQvFoj8jLN7fv7Fkg8X0lQ=; fh=bPE/ZKdPBTjKtcZrwLFV3UvwCGQlZhMyI7Gp49e+ELE=; b=mJZ8ozJonuSYkcPmbZsRi39U9N46Sn73sJouugcME/zIukNeESoOnBZmkj+DHnmvO6 Ki6De770PwnjewktLfTeaHb1XC8RU/1++nPHHK/HMqlhrM8kE1ygMQ6Di7W+c1OFxNza 4vRiAlZRpmMVefIkDyRUNQzFKVO1rlSdIsAuBq+SJzLVPEVlJZF/HKE0RgaUHsD3Z2Sj El8/CuI3XPKJL8jm4u24WHpQjZv9QN2ORWOsazREv0AFnm6X1hJGksKM6gV6xvb25ld6 ltmKxwNXpB1REm9Y2vFY6CU8vW9/ysmeo3YgXYZMXm2RrIn8/3Z8MalQ3MhDEt7AGsSj bVEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-120747-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q23-20020a170902bd9700b001defa72135fsi9083053pls.298.2024.03.27.04.29.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 04:29:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120747-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-120747-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 06446297DC5 for ; Wed, 27 Mar 2024 11:25:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EBAB71B28; Wed, 27 Mar 2024 11:25:01 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BAF266EB6D for ; Wed, 27 Mar 2024 11:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711538701; cv=none; b=PtFFH9nIGYMdfEHYzV+FMV144olNmciTHXMZcmRXPd1lUL8l/DkfMi83A6otcPuP4YMBIOUiZeMwTr//btMSyO93WKqYK29fxYRKo1n9zI6xDIYnP1zlYzINKQv0dlh2xZbPC8ZgBZEk03VFy7Ltvy5qxYbYJvUUKuSy4ScV1JU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711538701; c=relaxed/simple; bh=T+moCp9amPEcwG51Nwb9zHrIinA3U9QwdTdPkdNNDmY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=LiJ4c7KYIZqv6Pfq2gpUZh13qF7WAAvn6w9kMjs6JSYWWRi5zhN2p/NilSk2XbvRTnbRv165EMx1ZkrYVqH4CGFB6MvkKr4V3MOG36BXtjiA9+7NNXuQLoTHW9S4W008Co3TzxW/9bRr5PNkG4bslkO24hIBz8iUL6I3ch5Y+Wc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CFE0C2F4; Wed, 27 Mar 2024 04:25:31 -0700 (PDT) Received: from e122027.arm.com (unknown [10.57.14.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 672333F694; Wed, 27 Mar 2024 04:24:56 -0700 (PDT) From: Steven Price To: Catalin Marinas , Will Deacon Cc: Steven Price , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: remove redundant 'extern' Date: Wed, 27 Mar 2024 11:24:39 +0000 Message-Id: <20240327112439.200455-1-steven.price@arm.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit It isn't necessary to mark function definitions extern and goes against the kernel coding style. Remove the redundant extern keyword. Signed-off-by: Steven Price --- arch/arm64/include/asm/fixmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include/asm/fixmap.h index 87e307804b99..75b22b89db1a 100644 --- a/arch/arm64/include/asm/fixmap.h +++ b/arch/arm64/include/asm/fixmap.h @@ -107,7 +107,7 @@ void __init early_fixmap_init(void); #define __late_set_fixmap __set_fixmap #define __late_clear_fixmap(idx) __set_fixmap((idx), 0, FIXMAP_PAGE_CLEAR) -extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot); +void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot); #include -- 2.34.1