From patchwork Tue Oct 2 21:10:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 148022 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp5639547lji; Tue, 2 Oct 2018 14:10:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV62IFltm33FgE0oCBKcUsLD4ZKtTodaVkBCiCZvVmYNekd8Pb9gmJ7VMy592r03E3xJYkjtv X-Received: by 2002:a63:c608:: with SMTP id w8-v6mr15990627pgg.16.1538514655980; Tue, 02 Oct 2018 14:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538514655; cv=none; d=google.com; s=arc-20160816; b=SyDTe6CHW6zzPHnXfgaLP1JlZe6bspiVngjThQCaG7QiSHSvcKPqTJnmDK7Ht9w4K1 /JHEu05u2GQ9IYX55CRm9yvocmt8WwKGp7ly2XwtOUeOAEN7lPickvBOaY5O0/Ka+q1E eum/l3fsO/wg1fjdlvKHkYftcS+rJRbZMOHYvOHLVozcytKVul5UXJyWqjURGxgdVzyu Hq3/Gupd7TqB+O9UcV91bz2Kqn8dPOqsrJz2awTST6MuoFn0jGauLN7suIeDes0qDZcK ENihA66njHxHnz79b6gUDTboHK+C5r5q6Wx+EddVINVKL71klzQczHpqgPPRXD38cQGn rfLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=TknS5BDQG5ZFi0jKyfLpYq9TdiVpvENQL9uuR+jXXPo=; b=aadXJGONzvL+IrvI1o7CKWA3kVI3A2bpZFBLpI7RnLK84dyLvVTo3tYngKclL64XMn 0wsGeVX9Z87ohCstAvBJ3AWwNsGhs5OCfHdK8XTc9RjlqCTrqXbH9Y/XdLNMMjBO5hWS n2jcgNFPNmpWDLDFzo37xTaah1xt684EGmh6F0Nu57JaGZqoLZFNK1ijIT8RRr5c81aT 7zH9dSLI4pF4Qv3a+aQSF0+qfwsAn6GGhW/pTsU8R0OL34271YYH249U6uNyWfS8oGmN /uGsyoWVGHxjCmMq/Il9zghSgvD2qUgMW7BuOGcNr95Kr+9qWOuE62X4mTQIqEg7zUC6 O3BQ== 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 i23-v6si16367367pgl.230.2018.10.02.14.10.55; Tue, 02 Oct 2018 14:10:55 -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 S1728277AbeJCD4K (ORCPT + 32 others); Tue, 2 Oct 2018 23:56:10 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:54671 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727747AbeJCD4K (ORCPT ); Tue, 2 Oct 2018 23:56:10 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1MX0TX-1gDiOh1nFR-00XKuQ; Tue, 02 Oct 2018 23:10:18 +0200 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1MX0TX-1gDiOh1nFR-00XKuQ; Tue, 02 Oct 2018 23:10:18 +0200 From: Arnd Bergmann To: Srinivas Kandagatla Cc: Arnd Bergmann , Joachim Eastwood , Greg Kroah-Hartman , Bartosz Golaszewski , Masahiro Yamada , Randy Dunlap , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] nvmem: lpc18xx_eeprom: remove an unused variable Date: Tue, 2 Oct 2018 23:10:01 +0200 Message-Id: <20181002211016.2638186-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:9eeNNS4sVxD8k/SB1tfeRWq70A30cVxotUII8pQXwEsnQR+O6t7 2kanL8TEtE+uZTeuM20kvlIq9lDP7O3GH652RS9ppgfn+A0wiwP4VcgXzBgUMTv7AcqR2FG +0wbXOKarZTI0V5LOejBW+axQaEcnU1HHspNSs6kjhvjwvQr5MYUu9Eh8AN/v9++N96jpzS Orsf5AS+D5+qXkxIgmjOg== X-UI-Out-Filterresults: notjunk:1; V01:K0:rtI7WyntRVU=:dmMs/vhyRjWCBEhfPaDj46 8z5+bX9H3dniJyyNC/IILZSOtHoRfR9fucq964y2uQUJmi/7dUoRUR3CFk7pdQ5WJru0wt8Ee g8cWwjaS3c8Yd10LJ7aLX/cncNioYtU4ct1Y/1XzMR6D0LYX5lqfsMXWouQOi76One9N/N+2u KB+M6iMC6rikrDWrvBN4R83FlbbkTSdkvpyBDiivzqLOPP652z/HB8HW2MEWCSDujvMqmWLwn w6s5GQP30rhPm39u97DfvjfPJQfQQxhbM+rAqjRfyckDozwrx+hUCSMpUxfdaa7IzboM4gm+X hBDJc6odIkTgL6t7MrQdxkkCt1wp66dxbotiLYX+NCFatcNHa1RgWwtrdfU5VgeYdFXfbIddV 2TEsTCcuyS2ju8KjXYhFMxygmbu4qcHQ220j2lHVWMncuWuRJ+ARt0+ya6/oEOEjkdGyYpvO8 HkJS7eDxDgBJFr6QcqSsvyby5KK49Gj866oJzy90XnWI/S7xZpJ7LA+eCHhZVsXv4s/712lSs qtt4WPp/Q+6LTgYrhF7CZd02b55tExm1wpCIP1vvaRu5D5I2clXLWUpclEbnj1//gbLs7IVRQ OuVSy9u1hmwQ2gfNfaGMcTg+SaeKMGqIbIytBm9MqAZVlt0XZcKcnOCZ4dNZkEzDd7+qmBIF+ pwGaXk+aUXFMzKMfbyaiWJNF4tScau12O5cum0BshKNyUr3a4bVTDaRtjJvewVB0Sea0= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/nvmem/lpc18xx_eeprom.c: In function 'lpc18xx_eeprom_remove': drivers/nvmem/lpc18xx_eeprom.c:258:6: error: unused variable 'ret' [-Werror=unused-variable] Fixes: 226014d13fa5 ("nvmem: lpc18xx_eeprom: use devm_nvmem_register()") Signed-off-by: Arnd Bergmann --- drivers/nvmem/lpc18xx_eeprom.c | 1 - 1 file changed, 1 deletion(-) -- 2.18.0 diff --git a/drivers/nvmem/lpc18xx_eeprom.c b/drivers/nvmem/lpc18xx_eeprom.c index b42dbaddb419..66cff1e2147a 100644 --- a/drivers/nvmem/lpc18xx_eeprom.c +++ b/drivers/nvmem/lpc18xx_eeprom.c @@ -255,7 +255,6 @@ static int lpc18xx_eeprom_probe(struct platform_device *pdev) static int lpc18xx_eeprom_remove(struct platform_device *pdev) { struct lpc18xx_eeprom_dev *eeprom = platform_get_drvdata(pdev); - int ret; clk_disable_unprepare(eeprom->clk);