Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1606994ybk; Sat, 16 May 2020 17:14:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEu+yhfvm9JVzuJ1+a42np5zXBzm3FlL54PgVztuqxneqHmZ4jhQr1cySnFOT08cG7rb9M X-Received: by 2002:a05:6402:155:: with SMTP id s21mr8042978edu.144.1589674470098; Sat, 16 May 2020 17:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589674470; cv=none; d=google.com; s=arc-20160816; b=hv4o71NedE79pv/273Dq73u1vBoOoFr51cNv2oOozE6Y34n465N2PFVKq6sr1+f7Kf I47WfSN+JReijyFx34/AMarcL4gNbHRTeFORCmZGAXfC/k5jbrulx8ZU3le6IoEL8FfC M/Dq2Fw0MloQlmQ4DflgZtYoGhzbGQ0fUG1lxtlZYsdJUOj3ObP9R1pVhzVXCwkFD6Bf VkVw/h2zYMayqkvkxPp5HGW2vLKCucX6CF+PCRkiVRjy74LvmBpQUj9lk/JMi4dU4Co9 REfhNuPtppIYNG6VygAUQbuF9jDA07T1dtlkDB5IyCDcYdAPJXAaBo2AYYY/i+AygMYU N9Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=uXlixiau1j95RmP9NA0wbCzX6HbvCN4ClDBoBcdanXk=; b=tfYvbONeIwaackNKe8fGYAHFLxo97f23qfpP/GyJAIRKMLmU2MBcHYD64mHJVg/Bmi cel4/l1bgNRL9733S/YsB3fYVwoh+1XHMEMQmMDVOINsVzOntm4dvE3u4hEeeKvG0K8N vBeG5hdO8zZ+prKhZikx5P+NfvMFyawj1IcGOWaITX9eF2zzpmIQ49UGp65P3y3FQ9F8 W5gqveviCHckGe5Wsrw5lOtw4P2vFHDa2AzmTCv6F9pJTIe/R7sVJZlOqh/+8Y7lULRi Wy0Q4smXmIP9RUFXEUF8rH39CHJaUqHuWlcCtnk0S1OAhulpae5UGKDwKPmK2QxpY7b/ +zDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=XQMXj0qV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si4104576edm.278.2020.05.16.17.14.07; Sat, 16 May 2020 17:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=XQMXj0qV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726824AbgEQAMu (ORCPT + 99 others); Sat, 16 May 2020 20:12:50 -0400 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:15924 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbgEQAMu (ORCPT ); Sat, 16 May 2020 20:12:50 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Sat, 16 May 2020 17:12:37 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Sat, 16 May 2020 17:12:49 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Sat, 16 May 2020 17:12:49 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 17 May 2020 00:12:49 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 17 May 2020 00:12:49 +0000 Received: from sandstorm.nvidia.com (Not Verified[10.2.48.175]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Sat, 16 May 2020 17:12:49 -0700 From: John Hubbard To: Andrew Morton CC: Brian Geffon , "Kirill A . Shutemov" , Mina Almasry , Shuah Khan , LKML , , , John Hubbard Subject: [PATCH 1/2] selftests/vm/write_to_hugetlbfs.c: fix unused variable warning Date: Sat, 16 May 2020 17:12:44 -0700 Message-ID: <20200517001245.361762-2-jhubbard@nvidia.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517001245.361762-1-jhubbard@nvidia.com> References: <20200517001245.361762-1-jhubbard@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1589674357; bh=uXlixiau1j95RmP9NA0wbCzX6HbvCN4ClDBoBcdanXk=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:X-NVConfidentiality: Content-Transfer-Encoding:Content-Type; b=XQMXj0qV/AX9NTtDgbIPGM40WnkSIrkE2RybnGe2neRMyAulj5Z4pu365jtx1rvkQ rNL8RTKovH405wwCgP7joRSwu+dX5VG4LWoE2V8QU0h1ueNMSCluL8VU9MbLcHvBWp +/0NMhjX8XBTgWgslN7enIlTy5/RVuO62sznjEew3sIif6hlTwzLPta7JuMQkQKi31 meVJAzwMzBRKkt29s2F/w0zqcq6cn7cDZBn6XI3oMxKWLNE5RdShk0YvFD58nK5kwS 95BR6IlaM3S4hMsA5t+ebSLDRLR8l//Di2ZWeeWU1xUfvriSrQQTAiIijSGSMRkg55 hdODhy2/5arjQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused variable "i", which was triggering a compiler warning. Fixes: 29750f71a9b4 ("hugetlb_cgroup: add hugetlb_cgroup reservation tests"= ) Cc: Mina Almasry Signed-off-by: John Hubbard --- tools/testing/selftests/vm/write_to_hugetlbfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/vm/write_to_hugetlbfs.c b/tools/testin= g/selftests/vm/write_to_hugetlbfs.c index 110bc4e4015d..6a2caba19ee1 100644 --- a/tools/testing/selftests/vm/write_to_hugetlbfs.c +++ b/tools/testing/selftests/vm/write_to_hugetlbfs.c @@ -74,8 +74,6 @@ int main(int argc, char **argv) int write =3D 0; int reserve =3D 1; =20 - unsigned long i; - if (signal(SIGINT, sig_handler) =3D=3D SIG_ERR) err(1, "\ncan't catch SIGINT\n"); =20 --=20 2.26.2