Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7793imm; Tue, 19 Jun 2018 14:50:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL8sFEKHvkLZICgEhaSQ1LyUB0r16fQ4ebz5FLOyDZAa5tSOoUyLgSR+rjhtSnMAVNaGfm2 X-Received: by 2002:a17:902:70ca:: with SMTP id l10-v6mr7720975plt.174.1529445035088; Tue, 19 Jun 2018 14:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529445035; cv=none; d=google.com; s=arc-20160816; b=epj+ZLE+pIPqf1B9VoupFEu3X59r8GOkR6VK6EQf5+o3nljUlAOkLPkdAz6WHd5uQW Ytk9/S0fBZEt596KfXSsS8///XWKVH2hWLzNFQGKFuoXvWM/1ZXc0kF3AHaP7wIzeuD+ LNutfyFm+iFRGjmrTqb8/wtVuVESXuX8z6ElFINEVDgKI2H6SwtkifLuPYlYZOvwDe6k 9Sst4DSiNlMcEC0kUJsZ1KZ206Msp0+HUpsKSaqSFO07tccMLcbYBBgI+PKsU06YwWVS vorz9rum+n9nUCFcuxnFq0donb3JMz5jHsbaHRIVGe+WL5OHQzUbvl7GyxPKt6rw305V lKZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=W1Ng6EJXxwLUZYoApWutVMxtEjDppkRB8dUa9ssSHew=; b=B3glkKhWjcNXjWTLbtvE4GTX/Rk1UQeo5fhFEFKjAz1/EQG5DsZKD9tAPWyIj6z61K N+sLjTMHj9y72Y4UtjYBzZP4AOOu/zxg4Wj7JytgOX+bCelEPUPS9WzIx1TFR6oDi4Sh K+PZ68n5olmQEDp/zUmxbk5WfVWVcgQ5XtIBkPV36Mls1y5i8RdUcc7a5JTGPRu697HW yjbrpX2D6VCDUl0NNliGycqYqiz9G0IjwRiwAVgjwVsVlVLmT1vpAEE1GfJp73GnmH// 9HXYbf3tJYa0XcUkY38Xabr9229loIJ3qjBVIjmyo/y2YpfXUlwEyLNIkAFV9V9FX1UZ e/xQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8-v6si564370pgr.578.2018.06.19.14.50.10; Tue, 19 Jun 2018 14:50:35 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967392AbeFSVsJ (ORCPT + 99 others); Tue, 19 Jun 2018 17:48:09 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:34882 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967311AbeFSVrW (ORCPT ); Tue, 19 Jun 2018 17:47:22 -0400 Received: by mail-yw0-f194.google.com with SMTP id v131-v6so452910ywg.2 for ; Tue, 19 Jun 2018 14:47:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=W1Ng6EJXxwLUZYoApWutVMxtEjDppkRB8dUa9ssSHew=; b=mxqPRez6wif6W94hfc0KmR73TzMO0BYkrpwPKP9NII39V4CXtKgrVn+brUgMsC7M23 9ZN+8JVPuIrAfRRfXo9wTBdWPta2SSdbHeiQDSUf2RK7+p7VlbNUnCWJALyNjUul0ijT YepO2rBH2vaPgNQSopWTa1ipxlStfZ7iyJqEuyMjWh0khre3jqdzHwdFmP1f/iR4FYXW YxJ8f3EBPprJeB3XqNEEcNgbdWOHve+oyLIV/oFvT6iYcVZE5sbMlaluSfGOCmG/IddY /CzEjycl225OmzasmqOEwa1cg9+XZ4SmmdsKcjDgbR6LV+BqwR/0u+TJHUPmsGCp69n5 aWHw== X-Gm-Message-State: APt69E1LTd5KNoqyUBJlxaNUVsZ/BddE7FlK9Da5Lz3Wr0Vdc+/6T5qS tGlAM3WWBD2Be7G97r7Jgg== X-Received: by 2002:a81:6541:: with SMTP id z62-v6mr8755428ywb.160.1529444840548; Tue, 19 Jun 2018 14:47:20 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id x66-v6sm333612ywc.76.2018.06.19.14.47.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 14:47:19 -0700 (PDT) From: Rob Herring To: Ralf Baechle , Paul Burton , James Hogan Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, John Crispin Subject: [PATCH 5/5] MIPS: lantiq: remove unnecessary of_platform_default_populate call Date: Tue, 19 Jun 2018 15:47:10 -0600 Message-Id: <20180619214710.22066-6-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619214710.22066-1-robh@kernel.org> References: <20180619214710.22066-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The DT core will call of_platform_default_populate, so it is not necessary for arch specific code to call it unless there are custom match entries, auxdata or parent device. Neither of those apply here, so remove the call. Cc: John Crispin Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linux-mips@linux-mips.org Signed-off-by: Rob Herring --- arch/mips/lantiq/prom.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c index 9ff7ccde9de0..d984bd5c2ec5 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include @@ -114,10 +113,3 @@ void __init prom_init(void) panic("failed to register_vsmp_smp_ops()"); #endif } - -int __init plat_of_setup(void) -{ - return of_platform_default_populate(NULL, NULL, NULL); -} - -arch_initcall(plat_of_setup); -- 2.17.1