Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5264413img; Wed, 27 Mar 2019 05:26:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMOieHoMOCT+0Isf2luLbOFON0+kM1nSk8/MFtgSJUQ70wTgq7hJeOmIlECKRIvzQXo+A8 X-Received: by 2002:a62:19c3:: with SMTP id 186mr33666237pfz.172.1553689590203; Wed, 27 Mar 2019 05:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553689590; cv=none; d=google.com; s=arc-20160816; b=khcBBBhqJQITT3txunM1BtDFzjoABTK56LUCVjqPvcwHdkRzleufoUy+H9K0fUrOOi zq+OvqMvTvwitXWxmf8eYlscHHu3nwz8+5n6i49Qw7ye9k7D8TEJEG0FXLAfT9tr/xzd g7nOfcohWHceinzI/fO2xTXgffCLxtgBxJ2IC7YNGL5Ukn4tRgwZPoAJrrdqHuPx14LT aOgJkTqQUNTmtF/zfeDMQ4UqmJj2T8d6e16fXFWh2TuTAv9D19QIE/m6lrlYxtgjJFVo s4ivRRjnaFvD0wXiovfVoAwP9diII8vLD+U65QAoO1PSm+XLXSXyFwL1Z59GjsxB0EQg qidw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=Pv+qEq0VIs3f7szqHFj+EN1Plx5EbGzFssFBN8OvRAY=; b=Gj1xBLflvPxNx8/ETVAar1icXI5lc14TrOXGkDFAaJ9kqn1vNNBPs7QlH3pby9tkDW NY7rR/dfOhFktrCv12/XwrMt8xslspgqPgeincLXyBATn1EXVq4Zx6DL1z1tHWYbyodT MpYKYsW89+PHzKTbOXbfO2YJuKAxmgGv/Tc/BTAryi44EVT+CfhI3NNxwJJH6J8MPwFo dWI8xlmMoAin67abTplinbfs39k+BEZGxjHAcQguITu78bwapLTFfafTjVj/5TMOG7dB fasU/vke9npxujwpfvXaEkRJKLFahs28tpxtrqaLxcbauNyqGKy4D/HCwOjNOO4RUjuL PbPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=K1+aV994; dkim=pass header.i=@codeaurora.org header.s=default header.b=K1+aV994; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c23si18914052pgj.27.2019.03.27.05.26.14; Wed, 27 Mar 2019 05:26:30 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=K1+aV994; dkim=pass header.i=@codeaurora.org header.s=default header.b=K1+aV994; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729325AbfC0MYl (ORCPT + 99 others); Wed, 27 Mar 2019 08:24:41 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44658 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729224AbfC0MYi (ORCPT ); Wed, 27 Mar 2019 08:24:38 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E923960DB2; Wed, 27 Mar 2019 12:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1553689477; bh=gijzqyAr0cZlcuTs4efC92bjQQamKU8Y/MHZrrZeZKk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=K1+aV994rMoV5qzPa7J06bCpOvCW/ps6/TKVMpNFIr8wGudb9MzzugYe1tkbW9apR dKOgT2Y6kCSjr1wcM7crvRyi9w9W8UnC/lmVKfUFxwHFoVcJkQ63ycr6KkyOoBNove LaL9mwX6ttzUTNroMe60w6ZuPNn/U1oSwv7MLy6Y= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,TVD_SUBJ_WIPE_DEBT autolearn=no autolearn_force=no version=3.4.0 Received: from [10.204.79.83] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mojha@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8F289609F3; Wed, 27 Mar 2019 12:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1553689477; bh=gijzqyAr0cZlcuTs4efC92bjQQamKU8Y/MHZrrZeZKk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=K1+aV994rMoV5qzPa7J06bCpOvCW/ps6/TKVMpNFIr8wGudb9MzzugYe1tkbW9apR dKOgT2Y6kCSjr1wcM7crvRyi9w9W8UnC/lmVKfUFxwHFoVcJkQ63ycr6KkyOoBNove LaL9mwX6ttzUTNroMe60w6ZuPNn/U1oSwv7MLy6Y= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8F289609F3 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mojha@codeaurora.org Subject: Re: [PATCH v2 2/2] Remove functions holly_power_off and holly_halt since unused To: Mathieu Malaterre , Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20190312203140.31785-1-malat@debian.org> <20190326204720.18882-1-malat@debian.org> <20190326204720.18882-2-malat@debian.org> From: Mukesh Ojha Message-ID: Date: Wed, 27 Mar 2019 17:54:32 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <20190326204720.18882-2-malat@debian.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/27/2019 2:17 AM, Mathieu Malaterre wrote: > Silence the following warnings triggered using W=1: > > arch/powerpc/platforms/embedded6xx/holly.c:236:6: error: no previous prototype for 'holly_power_off' [-Werror=missing-prototypes] > arch/powerpc/platforms/embedded6xx/holly.c:243:6: error: no previous prototype for 'holly_halt' [-Werror=missing-prototypes] > > Signed-off-by: Mathieu Malaterre Reviewed-by: Mukesh Ojha -Mukesh > --- > arch/powerpc/platforms/embedded6xx/holly.c | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/arch/powerpc/platforms/embedded6xx/holly.c b/arch/powerpc/platforms/embedded6xx/holly.c > index 9d2eefef7b7b..829bf3697dc9 100644 > --- a/arch/powerpc/platforms/embedded6xx/holly.c > +++ b/arch/powerpc/platforms/embedded6xx/holly.c > @@ -234,18 +234,6 @@ static void __noreturn holly_restart(char *cmd) > for (;;) ; > } > > -void holly_power_off(void) > -{ > - local_irq_disable(); > - /* No way to shut power off with software */ > - for (;;) ; > -} > - > -void holly_halt(void) > -{ > - holly_power_off(); > -} > - > /* > * Called very early, device-tree isn't unflattened > */