Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp183086imp; Tue, 19 Feb 2019 21:19:58 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib72v2hiYlUXLqvS/ln//057bcmNliUi1XqgNUQSxJpuB6BwJs3dISzj6XRlCMhUf2wVuIk X-Received: by 2002:aa7:8101:: with SMTP id b1mr33747327pfi.148.1550639998785; Tue, 19 Feb 2019 21:19:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550639998; cv=none; d=google.com; s=arc-20160816; b=SphzRVBNDDx/iyT/kkPcCkuz/XVIbE9ayrLL3nSYE7KQ616ffPm4aHeVVGwQoRWcIt yCR7HFhmXBQuzbE2PqBwZ1TKG6EG1V8PTwAJDub3jXGM1zeE1Nj1O2iEdSibmMPlDHgi P2X+4MtJ7hihQvKTurFejdFldsaEQwq5cYxiKJe84rKbWwoSLaNlVG5sRn4SBBvBsVb1 pf9IydMa8HICBcXdyIWzkkeHsAwI4dgPPe0D1qozm7fqa3bASMNXTDoN7Fbpdw83hl5f Dmo+xJHHDLtvOYtvuVTFX04SO8OSmVyehkn8kKuKnCt1oJPR0U3hJ0zaZj1w+IJdFRsW nXDg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dIFDPsRmcDCgf01ZB/CIIbIBAcGiuy//y2DGhlh4s4U=; b=bJzRvaHbpgZ44gKKx+RshfQH1LvA0KBEmj9UgalgbqC3Cz/T03Os9Suao0cqH5zH9l bG93IPKe5h3CDWGg7cIioYtM8g7IcMVl0grpa6XdtREFpEM4/HCkTnVrRsCP0LzOuDny N90tIOqRNYIC0ipKov64S2xebyFBOIWa5omJK6AbTYyL7FT1eSKfZdw2aiRgH5RK3tcV xnT6KtBZ9sWtHKh92zCJFfPK9GtTu/TgE+JKyHVqY4oU6xnVLTK29/hVOFUf8xFXswbI Xelw0lgPDEvNKLR6qTJ6F9PvvVVxf+02BaCMB7r9RQgaSwOPrJKzHiqSFcOzBg8P+cSZ udHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="BG/dyuIy"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b30si19792562pla.285.2019.02.19.21.19.44; Tue, 19 Feb 2019 21:19:58 -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=@gmail.com header.s=20161025 header.b="BG/dyuIy"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726569AbfBTFSK (ORCPT + 99 others); Wed, 20 Feb 2019 00:18:10 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:35440 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbfBTFSH (ORCPT ); Wed, 20 Feb 2019 00:18:07 -0500 Received: by mail-it1-f195.google.com with SMTP id v72so12693233itc.0 for ; Tue, 19 Feb 2019 21:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dIFDPsRmcDCgf01ZB/CIIbIBAcGiuy//y2DGhlh4s4U=; b=BG/dyuIyZI3G0FBxTAevqHU+81N3dWrY8GaY8KvGJ/rImA9gpdbwkVR4qn4T1c/bHY gYCQSZusWk6lt3iZql8kF5eu8jbJLcUDrFgIw1A+MhAJ3D+epoytg9dcPwYmDzthWGIU us/X/3jeUJ+wL5bJGIy0+O6MXBJWwjEHC06ikBvIjKcP1WOsaY9AQU9CNQXy9MYdRSJI ZH/RUzfI9fOoOzrQ09X/+UiNTswvpAJqLZrBeTNphc7IGGelxbzgpbp2ctvR2V5LCIZl B8YdAFpFp0HwWx2PcbgfVgXDN/9gpxIataN0/9acDYBN5AqyAKRuPhRMBOsHBxQXINNg c+Cg== 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:mime-version:content-transfer-encoding; bh=dIFDPsRmcDCgf01ZB/CIIbIBAcGiuy//y2DGhlh4s4U=; b=oT5jYEiPE7EuHRp4OzlYRcVNJhK6oF8zWxsoBBXGuMPy3Fs0zNa61uMa5yfLhzaD+X hHAZvmSTqdHPybRQswtpHbEyo+eq36QWlXavLfahvv0ONwBC1JLs2J+nOLWnCs4rg9Nv xfY6fRg5AwWU8kXckysQ6uMuhpFTNW1KpS3/70kVcrRiBuS4Ikwm/bZmwqXCGQSRlz1O a997KO0286itjUlQFlfPjHWFpDy+X3aAkUfEPluhNdpPwqIPJ/8qIfEcD37A14fqry1m 2xRRpkUhJHZVkq5rpN06arNJAxltdr+te5uJc9qMLgqIq0BImh3dx0JcJAZJe00oP3M1 dhug== X-Gm-Message-State: AHQUAua5q8WU4YQvxCAxdSTcciCsQzp9A3ej9yZOr6fLmhqLiLFeqIEF BJtGG6Jv8qwvL/R7HkZOK4M= X-Received: by 2002:a5e:da4a:: with SMTP id o10mr18015674iop.226.1550639886879; Tue, 19 Feb 2019 21:18:06 -0800 (PST) Received: from localhost.localdomain (c-73-242-244-99.hsd1.nm.comcast.net. [73.242.244.99]) by smtp.gmail.com with ESMTPSA id k64sm2297550itb.7.2019.02.19.21.18.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 21:18:06 -0800 (PST) From: George Hilliard To: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org, Neil Brown , George Hilliard Subject: [PATCH 01/10] staging: mt7621-mmc: fix unused variable compiler warning Date: Tue, 19 Feb 2019 22:17:45 -0700 Message-Id: <20190220051754.12195-2-thirtythreeforty@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190220051754.12195-1-thirtythreeforty@gmail.com> References: <20190220051754.12195-1-thirtythreeforty@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The compiler complains: drivers/staging/mt7621-mmc/dbg.c: In function ‘msdc_debug_proc_write’: drivers/staging/mt7621-mmc/dbg.c:237:12: warning: unused variable ‘size’ [-Wunused-variable] int mode, size; ^~~~ drivers/staging/mt7621-mmc/dbg.c:237:6: warning: unused variable ‘mode’ [-Wunused-variable] int mode, size; ^~~~ Remove these declarations. Signed-off-by: George Hilliard --- drivers/staging/mt7621-mmc/dbg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/mt7621-mmc/dbg.c b/drivers/staging/mt7621-mmc/dbg.c index c7c091fa1da0..69b38c7e3179 100644 --- a/drivers/staging/mt7621-mmc/dbg.c +++ b/drivers/staging/mt7621-mmc/dbg.c @@ -233,7 +233,6 @@ static ssize_t msdc_debug_proc_write(struct file *file, int cmd, p1, p2; int id, zone; - int mode, size; if (count == 0) return -1; -- 2.20.1