From patchwork Sun May 26 18:05:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 42ED5112C for ; Sun, 26 May 2019 18:05:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31D2228A81 for ; Sun, 26 May 2019 18:05:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2472B28A92; Sun, 26 May 2019 18:05:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D1FD828A81 for ; Sun, 26 May 2019 18:05:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 205B3897C5; Sun, 26 May 2019 18:05:43 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id BEACA897BB; Sun, 26 May 2019 18:05:41 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id q62so12727153ljq.7; Sun, 26 May 2019 11:05:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=/+JM09dJjWefyg39AOOFobn4Bz+Yez4U56j6r6AGNYo=; b=i11ze2WafTtjHHBIHpXN6b/eq1o0zRVFeJVd12Ut/pzHQzJCHDGWxraLHyWjAL/sSv IGIUsYABslFq0fpD+FB2KKqhi2Nf8myM7ec/tqALT513EXojZI6+9+vHSQYmQ80C87va E3nCBUjLuYMII31znrnURAJSsxXx/oUUM8+1mr1OYQCZpKT/sgdUzO3heMNVzvwR8XFZ xdpcyBAl1dxokxPae7GYs/H0ILP853Ryu91byFRyGK0zc67EVpeucmjXq4iABxjznpVv +apq6eXx1BESSpX5b3k8aDyr7Q0TQuvxN3wzwKbVmSI1TuO5gf7LFE+Y1HHyPB8bmduf 5eMg== X-Gm-Message-State: APjAAAUKqgnD7QjRLoZJqNSfsU898GStWsUSSP8OTErnhx+pb+6qTnK5 qqRe0SnQmAF1/0VQ7iWX/+w= X-Google-Smtp-Source: APXvYqyQ3yb/CJgH/qsOqSmhv9Y/nNlUmn4IODkXtiphtpj7DFfhXFaIptEEbWlQiIMNolGXoqO3ng== X-Received: by 2002:a2e:8709:: with SMTP id m9mr32272560lji.25.1558893940241; Sun, 26 May 2019 11:05:40 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id q6sm1779753lff.26.2019.05.26.11.05.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 11:05:39 -0700 (PDT) From: Sam Ravnborg To: Thierry Reding , dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 20:05:31 +0200 Message-Id: <20190526180532.1641-2-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526180532.1641-1-sam@ravnborg.org> References: <20190526180532.1641-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/+JM09dJjWefyg39AOOFobn4Bz+Yez4U56j6r6AGNYo=; b=KsMpVB5m+E5iGyqWVRd3TWObkX+uVjnMKM3UT9d6k60Axx7yIpevlKHS7Ho+ukQPld GLJwYrS7S39a94JQbY//wGBkrAW7Oh/oB/1Ivmo3Qg0ymJq91bY+F5f+/SoCVu88f78n LM13QmrtJWIZarKyENwhpDVCymi21LeX6qzb9GjTgrdF32OUm1qdIY4varmQqtFaRc4q Z7wa6TVukyCts1ULaLZUra5FMZ0KdyrAHuhAvH6Vj613dbhQ062FePxN20htA5ecUII2 OLzgo1yBIvS1CjwlYftJ3aUsUvIx2V7AUcunJ8XWsTgVqjxUzWR82G/OealBYy4YXEb7 t1PA== Subject: [Intel-gfx] [PATCH v2 1/2] drm/panel: panel-innolux: drop unused variable X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Mavrodiev , David Airlie , Linus Walleij , Sam Ravnborg , intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP The num_supplies variable is not used, delete it. Build tested. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: David Airlie Cc: Daniel Vetter Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c b/drivers/gpu/drm/panel/panel-innolux-p079zca.c index 8e5724b63f1f..959d57db0150 100644 --- a/drivers/gpu/drm/panel/panel-innolux-p079zca.c +++ b/drivers/gpu/drm/panel/panel-innolux-p079zca.c @@ -55,7 +55,6 @@ struct innolux_panel { struct backlight_device *backlight; struct regulator_bulk_data *supplies; - unsigned int num_supplies; struct gpio_desc *enable_gpio; bool prepared;