Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp530964img; Wed, 20 Mar 2019 05:54:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwI6IYqkBdEovkeZs1DiWj5kQbT0ZYfUs2VCawz9jjzEzpZ+3/JzOIl4wwc6kckQBtsjNwW X-Received: by 2002:a63:c511:: with SMTP id f17mr7674031pgd.202.1553086441350; Wed, 20 Mar 2019 05:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553086441; cv=none; d=google.com; s=arc-20160816; b=rc0aseys1rOVQaYAR3WRzBzHvQnrJ1cznug5boODcL5nIDWJPLc9Zu+PK+h4eeEMT1 dSRdMLTdSkRw71EW6PNLAkbDCXaLvSi43j8eIllqaZLFRYhALf9YOuwFHrG07HSouynB jVUKEBH/S8swv/h/mJI2MSPUGycf2DawaykPZ0tSTidZvm/btLG8nAEehyAxkaeGVQSs wXAjUjIQ7bPCD6IbslLKLEaqdk+Jy52b7mmPbyNVWqlPF0Now+JLyZY/lVt90cQo2TIH 2r4Zid/Umu1NGnmnKAQsSDt80C06K4vTsMD9q6Yw8nW24vOE/n83VyXFPDW7eHJVnXjS 3NZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from; bh=/PWsiD5IJMQBLam3IXZH/PdLF6OS4k/8aCt5Yo0Hiss=; b=sMNcDYXj/m7H5ZXQLIb3MyaiI/Dki6YZhZ92n8Fka/BliiHbJFIVhXxvMKXqgBnQ5W Q69u6GNkC5mPCNJH+tLrH7rq9L82eiZ6jwdlRkk1se4pVjLNXLeOWJcaJ60JINut3XOn 2dHnaotQG6v5tyG7GDT00YWMdWppU18NsXquKddBOucBqciO5R462QdoW9p/KdITL87w VlEMCWJu5ufPa4zlemQfXr2jK4JGuRok08CW71Vznx77neY7lKKALaBMdiJ/phj/4blz LUQ4n4Nw/NMDKQr3As38czzLR48UrUeCrTwoEgRsUc3bcrX3I0jvyWBAY6tEmRs5WUel CqmA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a63si1686735pfb.267.2019.03.20.05.53.45; Wed, 20 Mar 2019 05:54:01 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727471AbfCTMw5 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Mar 2019 08:52:57 -0400 Received: from ozlabs.org ([203.11.71.1]:33255 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbfCTMw5 (ORCPT ); Wed, 20 Mar 2019 08:52:57 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 44PVFg1bDqz9sPC; Wed, 20 Mar 2019 23:52:55 +1100 (AEDT) From: Michael Ellerman To: Mathieu Malaterre , Christophe Leroy Cc: Paul Mackerras , linuxppc-dev , LKML Subject: Re: [PATCH] powerpc: Make some functions static In-Reply-To: References: <20190312203140.31785-1-malat@debian.org> <607b412d-e5a2-5d08-7fb9-53a24e6c76d4@c-s.fr> Date: Wed, 20 Mar 2019 23:52:53 +1100 Message-ID: <87tvfxyafu.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mathieu Malaterre writes: > On Tue, Mar 12, 2019 at 10:14 PM Christophe Leroy > wrote: >> >> >> >> Le 12/03/2019 à 21:31, Mathieu Malaterre a écrit : >> > In commit cb9e4d10c448 ("[POWERPC] Add support for 750CL Holly board") >> > new functions were added. Since these functions can be made static, >> > make it so. While doing so, it turns out that holly_power_off and >> > holly_halt are unused, so remove them. >> >> I would have said 'since these functions are only used in this C file, >> make them static'. >> >> I think this could be split in two patches: >> 1/ Remove unused functions, ie holly_halt() and holly_power_off(). >> 2/ Make the other ones static. > > Michael do you want two patches ? That would be better if it's not too much trouble. A patch with a title of "Make some functions static" shouldn't really be deleting functions entirely. cheers