Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6495039ybl; Wed, 15 Jan 2020 05:40:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwCtvyrwjOJ4n20KOrh1A3JoFV8jlWkS9R7XQum7Lg6UxAITEuJoiNJYASsW5YDGmTzt1Y9 X-Received: by 2002:a9d:73ca:: with SMTP id m10mr2766169otk.312.1579095659350; Wed, 15 Jan 2020 05:40:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579095659; cv=none; d=google.com; s=arc-20160816; b=FYj/Ig8r4BszNGubhpxPx60JQd5U8Hd0Jg9+0tyTUrfvX+tLYei6L7vVpbBHOloNNt pb89pkY1R6ZdVKc9gAMFE2/HhnQTDMVitOd0EwZrX7HvZP//B3UujEBl6RIa90PnYt9U ycQ2ScHcM8YDuCT/8yOhmv1zTcwIRSkz3KNyipmotQymoxUEVYbWHcTnC8RsltDlG6TG U+fcoxZRF66F6YmC+OCoB1hqCqaTHqcSaZkD6NAHXSWg/LeR5mmhcsEVH7H2yEpJYejP x73ChckSK+Wr7ajMuUtsST/zNzxsMYG9VR9cbBCjMft/6MktfxXgOYohrmSD8sRZne7t WljQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pnFqhhxBgQQrOJG9VMdTSVWlyDTWq02NzG7Ll7SsmRU=; b=PBen95hlpPNh8hEq8OajDxNL0RfiYCZ+ruFWDPKj7UynesEpuKD6eZIxWJWwqK9L5T uT9as9jBDMGniXmohaC5Ir/30D5eNC1hv8TPozhrAVcxbdURp2v531PVZhpNnbR+Ai+d I/MoKDcO5kEktoknqK6T8K/oATge7GfC6fgApc3SXW+yohWjj+YzKbLOimbFpd59ktOc o5vasXzFVZwj4s+xh2rB0Hy+Lfo9zEYpgOprohqi5vrYE11zag3WHkD2lfKVAJ3rUvI5 sZBovTkLS3zc1EOvPqr41W6aMBi32EAa1R0sFeG2FvgcwBpBO6MZuaumO3LsUYBE1Xup sgww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=swXiWY6K; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si9215607otl.214.2020.01.15.05.40.46; Wed, 15 Jan 2020 05:40:59 -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=@linaro.org header.s=google header.b=swXiWY6K; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbgAONjt (ORCPT + 99 others); Wed, 15 Jan 2020 08:39:49 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35859 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbgAONjs (ORCPT ); Wed, 15 Jan 2020 08:39:48 -0500 Received: by mail-lj1-f194.google.com with SMTP id r19so18613368ljg.3 for ; Wed, 15 Jan 2020 05:39:47 -0800 (PST) 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; bh=pnFqhhxBgQQrOJG9VMdTSVWlyDTWq02NzG7Ll7SsmRU=; b=swXiWY6KtW6USAXgEF0BKmbRj8LNW2I0j8lCKzuFISPOymqu0FzmXNJs5VC4vllHNJ 5SS/9bDE/mXoEUeZVvqCUd2O3WPwH4GNxMuw+graItXIG3VM+lH03nQH81uZuOBgOBo1 /lX4qIrezmOEb4dOV2tWHyesD68BpcYKeA5lrGEalqR2YFsjMNAtXVpDz7jYy7mdeRK1 g4ocSnJvWJ13IUcdDr9dobxgGb1pG667VzZgrU13mTg2V+yYgxSupC3KOofzQ7RZNJhh 4EQ2/WlLxQttVJuIoTekn5pf4p5YpPHcc89VnzzV3x6284yplbJ40lJw2MVkVKqqxI8X m3Wg== 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; bh=pnFqhhxBgQQrOJG9VMdTSVWlyDTWq02NzG7Ll7SsmRU=; b=lOFbdgPMUf2KU0MIuC30FDfVhnDERtq7m9ID9ZrU4BAreRPITqlT3NKNlJc02zXAa/ 5kOW4oSHY1DSZnfVgSL0oZkK4b6KBoUa6aXmHidFfrtsFtrC/d39UnpLLLVVqQvwTLqy fIFPFIEQ0ZGsjPnkm24oLSaDiVCTNPBao7ubu7DGUYFPKxt/NTMNa/6XsztSYQG+2Z2+ rW8XQti1f/GT8FnLnQTC4f0LyTzkLx6is77siDENSU7qKVT2GUU7odzmVFCkUa31jciE +RkyaWznz5Ah0vzI/oUu7dfxWgdciDt1vVa8dkB/2GhB6Zfhv68VOYzSyFSRhNkcdK/X /Iew== X-Gm-Message-State: APjAAAV8rz2hSFkbEMyGsuAxLqyV5kcI2kKHu9IMY2ZQP0R/cAG0V6Ek 77i9pHFpr8pNoDNowTt1d/g4R+AyB01J7Azvz2C+Nw== X-Received: by 2002:a2e:9143:: with SMTP id q3mr1765334ljg.199.1579095586705; Wed, 15 Jan 2020 05:39:46 -0800 (PST) MIME-Version: 1.0 References: <20200108121117.45060-1-yuehaibing@huawei.com> In-Reply-To: <20200108121117.45060-1-yuehaibing@huawei.com> From: Linus Walleij Date: Wed, 15 Jan 2020 14:39:35 +0100 Message-ID: Subject: Re: [PATCH -next] gpiolib: remove set but not used variable 'config' To: YueHaibing Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 8, 2020 at 1:11 PM YueHaibing wrote: > drivers/gpio/gpiolib.c: In function gpio_set_config: > drivers/gpio/gpiolib.c:3053:16: warning: > variable config set but not used [-Wunused-but-set-variable] > > commit d90f36851d65 ("gpiolib: have a single place > of calling set_config()") left behind this unused variable. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Patch applied with Bartosz' review tag. Yours, Linus Walleij