Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1003919ybt; Tue, 7 Jul 2020 05:42:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN8JftrIBNAxQt7cyj6ofj/9F6ZqwshquJmlcBuM6aQ1SKmZZX1pkyi8SaNJEo0928v85s X-Received: by 2002:a17:906:b292:: with SMTP id q18mr49340860ejz.253.1594125760176; Tue, 07 Jul 2020 05:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594125760; cv=none; d=google.com; s=arc-20160816; b=WYKmuS2n730Rgv4AsG6AG1wr5XMkuQTe7JX0li2CeU9O3Q6RHZ8LnZLzsRCBKGd3Xa G4EqbA6UUMVPhkNZwAtJVXNka0Pn0jd8KyCGs6J8LgZSp91b23n8KhhYRVu/yjM56zQY XWOCxcGnY1Fj/ZBtJtX3Z529XzJZJWAyCZzvIbvjSr/6CqFilcCX9h+6uuGU1ZbaUm/6 1U3CB/9rAT0x0tpRe3wuZaFcyU220WIdIXVfV/Zy/rj+4t/vKz41wlvg+k7QR/bZyIUa NRF4OsrH/2gdKmglWwHvIdYzA5TWgVpKcTl9+oyIXa7wR7Q2131DMzdOc5N03wkgHyNs fC0A== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ypETbYDmBUU+3F9o/BjesSvCn4v+una8ZbjJDtRTCVk=; b=QXvXQ9tPek/TztN/r/057PZ5V9TMQBQvglD4RrBrTcRDMvE26r4uEmagzrdJkTY767 uGh8a1Q5uJVjW7vjKmXevDn24/Sm5VBTfaVK0cE/mDtIUCLuzVjreVWtp7FmEhy/XQPx tHz6U7xbW6CWKzoLrGAWbo8LoE+KPG1bO+38JpTJeEZR8wGnYGGiP2C7w02zEy64ZqGs 6lgqd1l8SdUauX8XBLOxiNT78ADYPf47bt8ijmxdEeayqJdSZtDuk3YHDDogGH2YJDDN G9m3LFVQlzd7EJa/bCZFlSVjKmR6r2cDnVvhAL5Syg4AL9F4bwAdLXIJo8Q+0721El3N D8Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nQyANoeX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m8si16768553edv.543.2020.07.07.05.42.15; Tue, 07 Jul 2020 05:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nQyANoeX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728197AbgGGMli (ORCPT + 99 others); Tue, 7 Jul 2020 08:41:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727003AbgGGMlh (ORCPT ); Tue, 7 Jul 2020 08:41:37 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 592BAC061755 for ; Tue, 7 Jul 2020 05:41:37 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id j11so962758ljo.7 for ; Tue, 07 Jul 2020 05:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ypETbYDmBUU+3F9o/BjesSvCn4v+una8ZbjJDtRTCVk=; b=nQyANoeXOviqCRwhNlHHF4L93TF7B5Jk8/+7jVP0zkRn0KT1KLYMYdPwlpPYWDzOVp 40Bb0RHbTiFM4B2sdEhda5RK47VgYLc2hqCj7AJ1ZUT8oz7UHgu5BJEI5Gb5443VWL5h ys8r/C6XWesEiKuDylcnJCrow7hFumAUfIhpPneS3Za1zxiSQEAENkK531xKMlexu4k2 XOX+19DjyjfbkG1srUQZZQriNLXxrCHvTSHg1VzoiiPkVQHjBq1BimEYm0n2XD7STkMq HDvv4P1Z5H2J3IJLBjyW1EHytVghu4N8/uhN5XHiRbXMS23sd3kMj6dCWgmVQJP1q/Ql /yeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ypETbYDmBUU+3F9o/BjesSvCn4v+una8ZbjJDtRTCVk=; b=CK0XErpXlKF6Pal+Vxl69Sy/auTMoUrnhoD+w8Rhu6YuAuuxfmBnMKxBD73e8c0Lr5 W7M0weZA7Ej85WEP78YQb7rMgnfRRyMQ70gW6ognC4wMmoFkPJ8uI5lTAYxsLWma0n9n dTnrPEhemKF4x2JOlfMnAHgEOfos4KsAlmTrrI4HzLk1+n7hDG2xgsC7MjFaao7Envlh Qbf+0GAfcLJFQ3u/HOtOB7og04Sk/Ut4BKJb/2TiX7g9gM2Y3xPxu9+HKadm8qH6azaM MeNYUyvW4G6JtXOB0GNq2bKvs+eqbAlFWMpvzY3GIgOynHKvlKQWwo+OdLJeC1t8ydcC MWCg== X-Gm-Message-State: AOAM531NmQH5pRPiVv+Ri1A45gZ1FJyzy5mqSztZOCIYevAp1fVxj90l RD+10RpIYJm1aNVhkp1T/dITINYckPt+ep2h0Gcfq0kXhZM= X-Received: by 2002:a2e:810a:: with SMTP id d10mr24442069ljg.144.1594125695862; Tue, 07 Jul 2020 05:41:35 -0700 (PDT) MIME-Version: 1.0 References: <20200625191708.4014533-1-lee.jones@linaro.org> <20200625191708.4014533-5-lee.jones@linaro.org> In-Reply-To: <20200625191708.4014533-5-lee.jones@linaro.org> From: Linus Walleij Date: Tue, 7 Jul 2020 14:41:25 +0200 Message-ID: Subject: Re: [RESEND 04/10] regulator: dbx500-prcmu: Remove unused function dbx500_regulator_testcase() To: Lee Jones Cc: Liam Girdwood , Mark Brown , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2020 at 9:17 PM Lee Jones wrote: > There isn't any code present within the current kernel to > override this 'weak' function. Besides returning '0', which > is never checked anyway, the whole function appears to be > superfluous. > > Consequently fixes W=3D1 warning: > > drivers/regulator/dbx500-prcmu.c:113:27: warning: no previous prototype = for =E2=80=98dbx500_regulator_testcase=E2=80=99 [-Wmissing-prototypes] > 113 | int __attribute__((weak)) dbx500_regulator_testcase( > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > > Cc: Linus Walleij > Signed-off-by: Lee Jones Reviewed-by: Linus Walleij Yours, Linus Walleij