Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5668970imu; Tue, 13 Nov 2018 09:54:02 -0800 (PST) X-Google-Smtp-Source: AJdET5dJ/KcRBmxN8wM9QqMNLiG1Sbk1UOGXcGL3xu3o4RCzdEDIeBHzV+Adsl3g6NVA3gPGv66o X-Received: by 2002:a17:902:748b:: with SMTP id h11mr5927382pll.325.1542131642649; Tue, 13 Nov 2018 09:54:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542131642; cv=none; d=google.com; s=arc-20160816; b=l83DW62E84Ht3VxgJviGP2AZ1Ck8UM7gpryk2tD5py3pZDpM55Tix8zRPf2IvDUw9/ MvsKvyOGnyP5KvDbGoq2Dy0R1gu1Ew1tl1P/kaY9iSxvbJWiYksSMYTl5GZ5sYck0plz Z/JnOu2n27mnslicivfRy1KvUFfYVXdgDKLUVsv+fWIVEVhBEF5TOoZIdzu078pIgh3Z cnB0zBuacU8TNmVW2+B2ndBeiysW49iXtBYrU7Fov8xpZePsHLn8qjNpKpW4KDtgzi+H CVvpYQGpg95aG8lvOoFzsHs9ZMwKtsdnYn54oNkyKLqBgmM4U74eC66ly2kAslyBPflQ 7vQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=psuTxNDLVvtw4bUJnsfjTCMvum1Cg6Yllr/r1uKyITQ=; b=qZedDXHcP8KNj9XzU+d96iwrsHAd+X6x0qOx6/RNauEggy/gaU4a7mB5Yb1uANBseQ +Kx/SkQb4FxBEFP2DzPAwqVPvUkzE8w74w7ocGoTKtEZE15jM8uvkVtOGN3sDPcdOxnG YvuLtcjM/W0ENFQ4WyaOTdGhENl3/+SjNsWAOfv3HGQCrE79y8i0yLdjCr0o8ZfhBXAt rgTiqnWNRnEhya/HXmGqKj29pkCibrI5gzh87Wstvl4Ihm6t/zCASVgQlgG13Ps1lS0D +U4snR1uL3BDmgP+MUpvovFidoYi2QamXnYo0+BslG9nFA6ZFMpbe4RBu2wI8t13XRF9 xMIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JGo1lcNx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y13si20813117pgj.157.2018.11.13.09.53.39; Tue, 13 Nov 2018 09:54:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JGo1lcNx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732037AbeKNDui (ORCPT + 99 others); Tue, 13 Nov 2018 22:50:38 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:13893 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731537AbeKNDui (ORCPT ); Tue, 13 Nov 2018 22:50:38 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 13 Nov 2018 09:51:11 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 13 Nov 2018 09:51:29 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 13 Nov 2018 09:51:29 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 13 Nov 2018 17:51:28 +0000 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 13 Nov 2018 17:51:28 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 13 Nov 2018 17:51:28 +0000 Received: from byan-linux.NVIDIA.COM (Not Verified[172.17.136.14]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 13 Nov 2018 09:51:27 -0800 From: Bo Yan To: , CC: , , Bo Yan Subject: [PATCH] soc/tegra: remove duplicated function declaration Date: Tue, 13 Nov 2018 09:51:05 -0800 Message-ID: <1542131465-22773-1-git-send-email-byan@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1542131471; bh=psuTxNDLVvtw4bUJnsfjTCMvum1Cg6Yllr/r1uKyITQ=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=JGo1lcNxnrRK1mlFHW2acW80zEAjGwRpWj3mT5WrjXOaolG/XVDtizR8xHjsAEw1F m3JuqFb0IucQFqm8bUrSeb5vJm5dCs1N7fJLtXm7rjJuIRTmak/bCxaQmE/igJ2loX BG8LhtYGKxtKo6tijdcqVFojhGWVgU640XxF5qgU8k0djkRNh2kMZu1b0tzKj+fpm4 z3j45n3f8p+y1rG7TYteMgh0TBT/gHo8Hwl964rl0rUerLQP0+Cb5lNMiQ6AiDnbOI UHdXyEk2HAGhvO7mL4Bgw0vUHpvbfd4ldja4uSGYC6ptpuwkTRzqDmZhD2wqlIe8dL 0cqtSpRey8PBg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function tegra_read_chipid is declared twice in fuse.h. Remove the redundant declaration. Signed-off-by: Bo Yan --- include/soc/tegra/fuse.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h index 9b6ea0c..8fb2f8a 100644 --- a/include/soc/tegra/fuse.h +++ b/include/soc/tegra/fuse.h @@ -60,7 +60,6 @@ struct tegra_sku_info { u32 tegra_read_straps(void); u32 tegra_read_ram_code(void); -u32 tegra_read_chipid(void); int tegra_fuse_readl(unsigned long offset, u32 *value); extern struct tegra_sku_info tegra_sku_info; -- 2.7.4