Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5658479ybx; Sun, 10 Nov 2019 18:27:16 -0800 (PST) X-Google-Smtp-Source: APXvYqxCWc/dBdzZl+D4aZiKanRSzbwZrC16HsQEgIOKwLOyVXmO8nHDZ5LVH1+0vT1HMUK84hZ2 X-Received: by 2002:a17:906:2584:: with SMTP id m4mr21041980ejb.287.1573439236494; Sun, 10 Nov 2019 18:27:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573439236; cv=none; d=google.com; s=arc-20160816; b=csSMoT92VVkmEnKVYrxItQrP5Y7ngF2RGBhb2GcfxWcBkcWSn+7MmvvVyF3IufhGG9 9gr3drnvKOmiBxcolFRgLjVTs+5TBPCFjaqSJJjNe5U+vre8BH8ASxFvs+M9B/2MH9fs 6tfDvtwRpd49Ynje2o1qM45feO4cHyZJ2qYryk4g1sn0O8Z2Lxcn5QiO/bEZQskfcANc 9N34vzAc0mnblwXo/rDC0B98eWpezQmpToSHslhnCp3JXioKIbJNGd2yxRcGKujxlAYN d3XA3wUh/p2tn786zOdoXcBKNgmhtlh3VPSpr0H2oYts/L+7rYV+UJUvE57VrszxrtuY b8+g== 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 :dkim-signature; bh=HCu3swpM3JCV50k6ZcWSUdcyGBcr8prizowXxNin5Yo=; b=VUpB5/+89lyxIuYqRTtQd6pOzxfJWAHgl+2rfJb1oQJiPm3A0RyAB8uGTT51Yje1Cn 7yT4OrDDwVGAtCEiI6ruCflkWXgZRaHoMAxkaK7p7CKpf+p6Xr9M3LkufOm54egYmeLn 9Pt5qcZPkge4Vib3rt6ueGIY9PxaPfE5bep+YXVghaeHH58jd4h0wxKsnk+/sFEwg3rR 8sZ+cu0eDMhsGtITOWMN5vYDUhzbTWNOAMmElh33CPRd7Fhc5dJtOBDrqr7fftOZO0pA jv2v7Y8vxpOuF6WZlHESVDdxk0Dels8PkX6FuLGTm1wMVFOPbJhd8GxEt4MLcEEzI7HW PafA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=1c81wXFN; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-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 o8si11718616edi.34.2019.11.10.18.26.39; Sun, 10 Nov 2019 18:27:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=1c81wXFN; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbfKKCZd (ORCPT + 99 others); Sun, 10 Nov 2019 21:25:33 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:38006 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726734AbfKKCZc (ORCPT ); Sun, 10 Nov 2019 21:25:32 -0500 Received: by mail-oi1-f193.google.com with SMTP id a14so10194648oid.5 for ; Sun, 10 Nov 2019 18:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=HCu3swpM3JCV50k6ZcWSUdcyGBcr8prizowXxNin5Yo=; b=1c81wXFNSIu/f5fEVf9F9KjN7P15qofCc6uZH0bEYDARWq6otCYYqxViEA7zn/GuTt fBRIKGe1PL57LSVi3Yl3pQHHul9djPae0Kc1yncngkqj3Wid+l1YMDlV6S6RQt5j8Sdj YWJIZrjtEfUzFfGQhSF8sAEHJ9QTaR+Zfw9UyWPPVZtMa3o4iHIChTFYwrYErBZLGxwW DiTEhgei/DHqST5qT9oUjPX01Un0umf5uYPwuVEY6xbo7/jUIehB9cGBGm59Rf2ebLP/ /TGEBJvDkf7oyyqXe0D+WKa1CGbwDO8iUQTTQYFmyvAF+RPs3XOEyLljvIas1GRP0n8N Z1/A== 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; bh=HCu3swpM3JCV50k6ZcWSUdcyGBcr8prizowXxNin5Yo=; b=Y+2yZMqMBIg6H6a2FNNczeQJkK0XzoxgVHbsNVoy2UFGqcG7NREf20aOyQY78pZ6ze WFZkzWqmKWb1/iXpnvRmSnjMuffLcE01rKI18LwPv56XuMZxvyoGLjS3m7PYRPk7kMOE Q+8bWZKJrt3cmj+TDpmGWNA6fAHtCfTVNlqErrC7pjy00KBZFzQDcGfLbtBXF8ut6MCC 9BSX/t+GWfAS0pRb2srUOgJDqEwQmHa5gXv1gauZgRp3dM0/VcsuO/9MVHoIl3H9IhfP Jl3aHH2ORCY/RtiiPDSx6kclBHPq0UR46d5zagCRjAVIviHe2Rzn3kPaQuO3Nst5ATiy DqjQ== X-Gm-Message-State: APjAAAVeyseFWDAvyOpiUieSzWkpLgnnBbM1feQWHpF3/3tH7ZUfUWZy 1j+T/k7Q3ZBozexDobZIalX6Gw== X-Received: by 2002:aca:39d7:: with SMTP id g206mr20734392oia.101.1573439130470; Sun, 10 Nov 2019 18:25:30 -0800 (PST) Received: from rip.lixom.net (99-152-116-91.lightspeed.sntcca.sbcglobal.net. [99.152.116.91]) by smtp.gmail.com with ESMTPSA id e19sm4363985otj.51.2019.11.10.18.25.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Nov 2019 18:25:29 -0800 (PST) From: Olof Johansson To: tytso@mit.edu, adilger.kernel@dilger.ca Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Olof Johansson Subject: [PATCH] fs: ext4: remove unused variable warning in parse_options() Date: Sun, 10 Nov 2019 18:25:23 -0800 Message-Id: <20191111022523.34256-1-olof@lixom.net> X-Mailer: git-send-email 2.11.0 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Commit c33fbe8f673c5 ("ext4: Enable blocksize < pagesize for dioread_nolock") removed the only user of 'sbi' outside of the ifdef, so it caused a new warning: fs/ext4/super.c:2068:23: warning: unused variable 'sbi' [-Wunused-variable] Fixes: c33fbe8f673c5 ("ext4: Enable blocksize < pagesize for dioread_nolock") Signed-off-by: Olof Johansson --- fs/ext4/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index f3279210f0ba9..ee8c42d8a04f0 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2065,7 +2065,7 @@ static int parse_options(char *options, struct super_block *sb, unsigned int *journal_ioprio, int is_remount) { - struct ext4_sb_info *sbi = EXT4_SB(sb); + struct ext4_sb_info __maybe_unused *sbi = EXT4_SB(sb); char *p, __maybe_unused *usr_qf_name, __maybe_unused *grp_qf_name; substring_t args[MAX_OPT_ARGS]; int token; -- 2.11.0