From patchwork Thu Feb 14 20:58:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 158449 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1852121jaa; Thu, 14 Feb 2019 12:58:25 -0800 (PST) X-Google-Smtp-Source: AHgI3IbuE1soTgp2rYewxGnIcGE0buTA5PC8fNeRUA2Ry9EwoSYFxlf/V/54dkUPSkVJb+lULjwa X-Received: by 2002:a63:ce08:: with SMTP id y8mr1815940pgf.388.1550177905027; Thu, 14 Feb 2019 12:58:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550177905; cv=none; d=google.com; s=arc-20160816; b=yrNbFnVR9Ag0w6mWpMxtLmUKS6wxtg3kWl+Vz9yNtIZs/Ls+8c0XlL8XQnsZySQy6y DdXEKo1elct+qYrwFL5ila8fn1ik72mV8SkVkvQIQOglW875IGEWAnGWZd/KISOICO0e JAHguzmNmncx6Zw430VMUx+4b7Ca40iF8qBy1fCjEp6gEdoE4U/fF6RTdF/DPSYNyaYx 2/t8MRVzna0AGtSREz7IwBVSx9PJPv5riu5j6vQG4uqfJkpCx7BknqloT/t1ldp6Ye/h bK3NF27jN+wHN3/fqp/09pp9AV9cGik12sVtXSBXztm9pgjAlLtSm/hjo6JgDo+NqXto DFuQ== 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:subject:cc:to:from:dkim-signature; bh=PagzdWaUTNSAgesiK6p5To+FsV4qJSp38NqiU4uGyng=; b=bXBCjv6oNzqnByMyxAotmG91HjnpKcJwfXowxK15W8CKZCXoYgQNaif33Phg63Dsqk 4K92UKd0x1f8b0VTWbEWhZH5b6S3IyF/L+2QnfrJzpanLOphd8+yxSIbLBc0wh13TiWo psTE20rIhaoLj+kEWBGiiSmcTdKyJbkMXPncTqd+wYym1+XvsXjjpFrlBM/mUb7VYxOG i8Tsew+stqlNsuTGLba6FBm94elC4UimhJVvdjI32gS2XyKtYij83pcXlCOhL7k+eyZQ hY4SaLNYNgtkOMKQrST6LybFD0NRCfiF3HZkG1aQIpUfci/PmpNPFcVZ70F8+6TRD7in ItfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wV5gWe9J; 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 ay7si3655360plb.410.2019.02.14.12.58.24; Thu, 14 Feb 2019 12:58:25 -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=wV5gWe9J; 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 S2503299AbfBNU6X (ORCPT + 31 others); Thu, 14 Feb 2019 15:58:23 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:38240 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390459AbfBNU6X (ORCPT ); Thu, 14 Feb 2019 15:58:23 -0500 Received: by mail-lf1-f67.google.com with SMTP id n15so5592049lfe.5 for ; Thu, 14 Feb 2019 12:58:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PagzdWaUTNSAgesiK6p5To+FsV4qJSp38NqiU4uGyng=; b=wV5gWe9J9qZVt5iM4ZHC9p3M0igGdTL6VWUETYqsLlrNpUl4UrFdCee+ifqWeZQTao ZPYr1TmNmcejs01b6SPP0jUl0+laqmAPAjYi0ZbECvJxIRZ5u6Q3eFdx5Y92Pw8h2cwg /Bv1BvVPr03n3a8YJYG4AvmcmqGvfN0trJtcoWbfcaOapVJP4d+rbvxHBCrx0hcWSr85 GacWiGZyIC63AwhRnMZXQCahg/F+5kpF8kzILn7XL+qY3oXPxugmizZ0MQtPoeQGyOTg 33RSsmg3zocnWYpwLKwAfzQt4Os/cYL/uAjb8KYq9N+8nHrHgUGaobUY1YWH+rLuHmcf +WxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PagzdWaUTNSAgesiK6p5To+FsV4qJSp38NqiU4uGyng=; b=sWozU7R4R9nnORKTj//XSBDsFot0Rga8e9fi1EiZTk0Tiwz9jTUEOgoANwtsEMRHiH sGsE39eVN+e4f2Iqo0SZ7HUu742cPIm/c35UQ5YAed6tsOHnk+MfRrwuJ1EwVktkanmu kpYkUijqoZFLpZ3YWRFFQVlygDu6/XcTizWMI2iO8NrV61tWD5J/ycmvUyhvsDcvG5Wz 843EW7MvQJFXhK/U4qxWmbj/97IYIPxylEuWwE/iHy+5/sOOb++vRnL4SX0jwCtprmmX f6lZwaNNqXkstDt5M2rZY/fR/pnh72mZF2H38rTQAfzXVF2Tf2Y3nVyGMcJaoUj6lqmn kEjQ== X-Gm-Message-State: AHQUAua1ub/Y1GeI+kTaZ6ACBf1ureG6wyTMVEtP2HQHaBWHk3sK09kQ INVr1NyrzEPynAOAD3ZiY/JAWg== X-Received: by 2002:ac2:5205:: with SMTP id a5mr3546133lfl.135.1550177899514; Thu, 14 Feb 2019 12:58:19 -0800 (PST) Received: from localhost (c-573670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.87]) by smtp.gmail.com with ESMTPSA id e9-v6sm633609ljk.92.2019.02.14.12.58.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Feb 2019 12:58:18 -0800 (PST) From: Anders Roxell To: jacek.anaszewski@gmail.com, pavel@ucw.cz Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] leds: lp55xx: fix warning unused label 'out' Date: Thu, 14 Feb 2019 21:58:12 +0100 Message-Id: <20190214205812.7311-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When building leds lp55xx a waring about label 'out' defined but not used. drivers/leds/leds-lp55xx-common.c: In function ‘lp55xx_firmware_loaded’: drivers/leds/leds-lp55xx-common.c:217:1: warning: label ‘out’ defined but not used [-Wunused-label] out: ^~~ Rework current code to remove the label 'out'. 905c2157dd19 ("leds: lp55xx: fix null deref on firmware load failure") Signed-off-by: Anders Roxell --- drivers/leds/leds-lp55xx-common.c | 1 - 1 file changed, 1 deletion(-) -- 2.19.2 diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c index 64986f0fd367..723f2f17497a 100644 --- a/drivers/leds/leds-lp55xx-common.c +++ b/drivers/leds/leds-lp55xx-common.c @@ -214,7 +214,6 @@ static void lp55xx_firmware_loaded(const struct firmware *fw, void *context) mutex_unlock(&chip->lock); -out: /* firmware should be released for other channel use */ release_firmware(chip->fw); chip->fw = NULL;