From patchwork Fri Sep 21 13:40:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 147271 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp837611ljw; Fri, 21 Sep 2018 06:41:06 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda02jLOYWs/mTDzAMIGyrGM27fcMe42AX7fa/u/aGrVKxsYD0Oi8CFAX1Fj8TOf7e9jbzKm X-Received: by 2002:a62:9e07:: with SMTP id s7-v6mr8150603pfd.110.1537537266687; Fri, 21 Sep 2018 06:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537537266; cv=none; d=google.com; s=arc-20160816; b=V4B5pqq2dVddNZ0WZo4bjsQGfDIYDGFjVkEwb19LD2BwNUpmGASs8kIHRJa6OeR3iv 81HA8KE06D6vHsZ4Dk9j3ONsXjEeSqpmAdGff1V9Muo/Bx8P+uZJArs8amvSfYl2NJ68 frngCz0NeWzs7ExyupkXZsdzsXuQQvTBw6+IhAQSjwb24C+5BT+PdXK27fiiBtnrupPX 2hP56Vx0egLsq1Cf5NGAUvcmMPgcKSc6jmqodkwJQxWzOzafXCK9DmNEb/0iY6KgLk6x b6jQ7GR3LTBBzYSZNMPMIBvoLuL58iHBiHsfbpiFL2nMk4nuHoNs41SZr+U80PPec5SB DwYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=3uDbLTzNxTj5EpbFkmxIXP5huf1tEDTFmj6fZv8t3Vk=; b=Nva1uH2y847e/2wMZ0LS/H4w6SGQI9qfRTtpgm8FezyDs4POMjgfdqhGzZLpYKxDoM gmD3b5wx5Exqjy79/MhhNSf7cKbVIUszb8IiLRzDUe7a5hmZy7Lv2JDGXq7/9yjPiW36 S4FU9c7KEuEmtV08+KEMlCJ4LD1jzazRniAo2V8OruhUUmhypWbLb0dveLJaJ1I3nLze KputBWxVmPbHXt2+jswxRUb4BzqRr1JVyR6sSE8sGpRkHA/1MAUp0kzlfswSGOsjJQPh 7riz+OFEV2VK2f4I2X6iWMZ/EM3ZkBRrb/MHfRNtLgGI9pIPCUv2fo3lbL8wcp/DTAAK L91Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlMNkJr0; 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 j3-v6si26087992pld.402.2018.09.21.06.41.06; Fri, 21 Sep 2018 06:41:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=VlMNkJr0; 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 S2390422AbeIUT36 (ORCPT + 32 others); Fri, 21 Sep 2018 15:29:58 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:51113 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389657AbeIUT36 (ORCPT ); Fri, 21 Sep 2018 15:29:58 -0400 Received: by mail-it1-f193.google.com with SMTP id j81-v6so2002187ite.0 for ; Fri, 21 Sep 2018 06:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3uDbLTzNxTj5EpbFkmxIXP5huf1tEDTFmj6fZv8t3Vk=; b=VlMNkJr0iVKdRxtmjRLashHgxEVWMK9U/Zw91zA5n0jDxzncwy3Yj3sAmQFP4OjCK7 wk9j3Hz7LENB4phV2xLeMMCIKHfwMRsb6LDrUMThpJ2eFAGUPF3wF3Bvxphwz/U2otXV MWhtDjNIi8wK78lQK3Uj3NQm+YLA98T7e3X2s= 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:in-reply-to :references; bh=3uDbLTzNxTj5EpbFkmxIXP5huf1tEDTFmj6fZv8t3Vk=; b=VxTDelhN0gGUWbQXmbIrR2t8tQtoNlUqfZl3nWXXRIqjNX1DI/VvqFiHWgnidU6vfH sW2E928z2xnA2IJyUy+Wo5o8fIr0BsxrQa327+zzG5whrAqwxNURtPOtYWDbaht2nAWc 3HGHkwe0x+I477f9IMZPNYtQB3+3r6dno229LaVvn+JXuSNETq9qJmE0sy4PNoTibPLN Qq51tnMDEv6Xt1DQbFKK/PMhnX0GAyJZw7akiIBX8PsTOjtk7T85RmfWPWHmfwXee1Zk U1Wjm+aVZ1ZmLcg4x+ro3Qjie6hskAwsFrXo8nJM8aHbzoxREX8efSs1YM9cFg3VYl41 T+Wg== X-Gm-Message-State: APzg51BYtlvQHZjvJwiwc//0JZDmzjv6fcCTHahkRQlvto0YFumNfm8n ell5zk9p3hPba3f0hpDpDyYCdg== X-Received: by 2002:a24:96c6:: with SMTP id z189-v6mr5614142itd.41.1537537263024; Fri, 21 Sep 2018 06:41:03 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id c12-v6sm9896298ioq.81.2018.09.21.06.41.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 06:41:02 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 25/26] nvmem: sunxi_sid: remove unused variable in probe Date: Fri, 21 Sep 2018 06:40:25 -0700 Message-Id: <20180921134026.4596-26-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180921134026.4596-1-srinivas.kandagatla@linaro.org> References: <20180921134026.4596-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla This patch fixes below warning: sunxi_sid.c:157:6: warning: unused variable 'ret' [-Wunused-variable] Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/sunxi_sid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.19.0 diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c index 1310f8af37f8..570a2e354f30 100644 --- a/drivers/nvmem/sunxi_sid.c +++ b/drivers/nvmem/sunxi_sid.c @@ -154,7 +154,7 @@ static int sunxi_sid_probe(struct platform_device *pdev) struct resource *res; struct nvmem_device *nvmem; struct sunxi_sid *sid; - int ret, i, size; + int i, size; char *randomness; const struct sunxi_sid_cfg *cfg;