Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp958997img; Mon, 18 Mar 2019 19:21:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxTjl5tn2spxZZOfHNr5srepmuDjsHL0C4/Jr2oc8vfKa3pvfJD+SwjU3VzQma4/YO/oeO X-Received: by 2002:a65:6149:: with SMTP id o9mr20518105pgv.315.1552962104389; Mon, 18 Mar 2019 19:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552962104; cv=none; d=google.com; s=arc-20160816; b=hoqll8bRAhImAwVgLfb5vSKzwtrbI1sby5oqCphvegEoCdoDBuqt+zc6gAmbYMaV/c 1+/kMqiLkve/IROgl7yAZbar7khnxtpKgpLWWnwB7qReeOLuP/exQ37DyLBoFrI5r718 hk2tFRaat4PIFNhYjZYu3fg86y38MbBWzQcQSV28juGWEwwJ+1Fe3eiBoOA/qWsybfXf fiAuTPkYuVwmxCn5BXK+2EZwc4ux29aD8hFR4Lt/sOTOJpAD5BhOKjEmz0Cikb/9MwJy eUciaAUjUVJEhtoOxuBPPfWHYqPl3jkpysyrcSbVSVT8p2Hmyvg9FYiJ7ey6L5rATyH0 ZYpg== 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=pFZ8684u12waemMEDEpX4OQQjsUFR1UoCJAHSz/SOTk=; b=WR/b8zBAD2fFWIAWHvAb4RcODfQW80yefxfT+fig1atRJX+X/0ptd4ZUEdTPiPKR/z ev4LcLL/iAYMW6W1PPOlGo0WY9WjgwpEOASKNwD7301SzlBecC7RuVoqSvfj0xDhTG0g 2cu321IjIc3tdwzsEfsGPnhj9xRkl/26A6Ci8VR7rZgV03QCoCh9s6AgJqXSDRV6J6tl RmflO2GI4/FWgsRFWSl/z4cPMBp2yV8Zyydajn+ew60PcPqT3FuE/cDM7lsg0dKKbedv jKOf7XDZUg03DhilYcLmOsw52Zt4LVeVJh1qbQDb/hRGMYP6ydsd8xQtobGicekIpI+n 7s7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CsOyWOMQ; 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 o24si10204003pgh.114.2019.03.18.19.21.29; Mon, 18 Mar 2019 19:21:44 -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=@gmail.com header.s=20161025 header.b=CsOyWOMQ; 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 S1727622AbfCSCUh (ORCPT + 99 others); Mon, 18 Mar 2019 22:20:37 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:37720 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbfCSCUf (ORCPT ); Mon, 18 Mar 2019 22:20:35 -0400 Received: by mail-it1-f194.google.com with SMTP id z124so24620095itc.2 for ; Mon, 18 Mar 2019 19:20:34 -0700 (PDT) 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=pFZ8684u12waemMEDEpX4OQQjsUFR1UoCJAHSz/SOTk=; b=CsOyWOMQHaNkUiiRIRagw6S6BvsnBWJrBw+91Yw8SepLRNi/BOqsPj8dPQriDymB5i nnfJ8RgrScIHjVFIRWY++mb84+CqQzIntulUmVxWiFi7n6pDrS9gQmIfPffuhVI2BLXf 0/2qv1b4vD6n1xl9OiYDovb2NvmVhfvEjVGqs4muhBh5gL+7oawvcKA3Y4X2MycS4foJ K+uybQ4fMc9vT3VpiKYTpGl+az1fssuFN7iwnqJsA4w2pWxHmb8OGWUSEHDNZi5z0jT7 FBxl9aq9nB+9m3iOxH1GWSXyRJxexbK4ABxU0Yg36HFZ1e3oRhirUH89MQo8ESvR26SW aj9A== 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=pFZ8684u12waemMEDEpX4OQQjsUFR1UoCJAHSz/SOTk=; b=nqSYEuXaVDH9Vifdw/J6INSq29f/mqEgL9jDOW6yOV844wVPfPe/jKfxiyJW7Xi7xY XyuWOD3ZhDJfqwcYKO+sEn2vTTvXT0kHT3hfEPTQg31LVRcKIJuq9gwFOFyWuyjNUkRD 2yW4txYf1a8qJeo3wm7HQ0AGvhQB57GgSWTNfmVRZg82uHtnYrCWRaAMCOyuUKT/Nkk5 sjISCOc65ARrTPlCGx+bgkaUIT434S132QEoDTKFxmiWvGkL/jyBKdpwLHFiwXQExN25 PogT51X8kpofX3EPMPH/IIu8brA6mTedITrplDhKr6Q799ZDhzXBqI+I9GFcuQVgyXz4 L8vA== X-Gm-Message-State: APjAAAUM1NXr7YlQas/3fC+I3yS60Iaxq1HzwGZzs7CSKCfFLuXHd4PK QEOChjKCPPwzebCSScOgaIg= X-Received: by 2002:a24:2789:: with SMTP id g131mr30755ita.127.1552962034048; Mon, 18 Mar 2019 19:20:34 -0700 (PDT) Received: from localhost.localdomain (c-73-242-244-99.hsd1.nm.comcast.net. [73.242.244.99]) by smtp.gmail.com with ESMTPSA id l8sm673838itl.26.2019.03.18.19.20.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 19:20:33 -0700 (PDT) From: George Hilliard To: Greg Kroah-Hartman Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, George Hilliard Subject: [PATCH v2 01/11] staging: mt7621-mmc: fix unused variable compiler warning Date: Mon, 18 Mar 2019 20:20:02 -0600 Message-Id: <20190319022012.11051-2-thirtythreeforty@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190319022012.11051-1-thirtythreeforty@gmail.com> References: <20190319022012.11051-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 6b59ac8b323a..fda3ba38ba37 100644 --- a/drivers/staging/mt7621-mmc/dbg.c +++ b/drivers/staging/mt7621-mmc/dbg.c @@ -232,7 +232,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.21.0