Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp650607lqh; Fri, 31 May 2024 11:58:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNPVhudU57qRikQoAocgF70AS1BVcXfbDjeNcUc3o1uuqHKCk/iygKWo8vLP4JDYQJW4H8X3GIzoJ+UqRxzQa3RhUd2OXaY8lBNSGOKA== X-Google-Smtp-Source: AGHT+IGLtfadMtzRkj3FZ3VmB9cMR/nwrhcvu8M7kYeaeGGFVaZexFEIvc1fhR19Cnyw1pRhFUuH X-Received: by 2002:a05:6358:63a8:b0:199:53eb:8284 with SMTP id e5c5f4694b2df-19b48d4dc03mr374885155d.15.1717181939401; Fri, 31 May 2024 11:58:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717181939; cv=pass; d=google.com; s=arc-20160816; b=C64ZXimN8Gm19xNtWR+3QfWxPgb7ENFLsSSXGW/e1+x2Mgrnkro23tk6RVyWXbWeCM pqbG0Ju0WQTsYYIcyV/Knhxqoj52sbAqtqoHnf0OkKX78Ik1046BdHWuz5hzzdj9PVC1 er/Uot1jVQ7OTbn/98lqna3OiFkkEMttmfUqXL0g7HwSadHsYTMckHVjqP8lA6ciX7jS 6nzH4WNxQKMzRQ81wHpRwy6t5foOub8KHnQ6tnoRieoFfq+/VtnTeii+jeCztEzQrTc1 R1BX9JEeLB3G6UVxR75vPoKqhFJDV+EO0A5CGzmq6UqDj/Z9NSkGC0yca1PWH4UGTG/2 4BJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=J00hHbCv0tmWX3RsYRCdEYWH/PP4cQcPiWZYM0T92ck=; fh=W10nJjkHWFNukzrA9x6+9AXvNKCxSerIrjtB/yNCoP8=; b=c8GL3KOZxlPB2YwVNTvUrCROXHad0t0fGt1oUA8ZoN+pGsFEOkrqdHORHH789hrdDr aK5gtpFfQbBQh53qxuVTeIOpq4K7weY9J353Fc5bMLruUO7aoH9Ivu/376JOrjbvg/AE OYdpLHBsi/0khU2rt3rtxFaxBJV1UBzWcBnkl7vbJ8puMgUpPGBLFpfcMqjezImywMR4 QM/TjL0hvcYK+YLOWr2nWnjISo9EyUErWoipJxahNa3cKWvY6ck0hB+APEnTaiOyGw5L WhcLmjOQUpZl2cXcteddRm0FILrH9ebwEiyGT5PTOLZLWcDKwlcxGJHZXhf5z61aluli VRCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=HHYVz9wH; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-197325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197325-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35b40bd74si1916326a12.512.2024.05.31.11.58.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 11:58:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=HHYVz9wH; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-197325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197325-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0153B282D53 for ; Fri, 31 May 2024 18:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 518767F7FC; Fri, 31 May 2024 18:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="HHYVz9wH" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF3BF7D40E; Fri, 31 May 2024 18:58:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717181931; cv=none; b=Tn9Y+R6LJx0iJm/vu+bKM12lhKFk9WPjmnOH/Xtx0R13gM5SqY1Ci976zHqugju9ybE47Zajth5hxjcKM8J/1uAosWfYDLOc76pOBKbOzSmbi2oPEhkGt4I7bl4wazgHyCBlhMfJHrajMh+1kWdFzN7R6zqm4SvJFH6hkA4o2dc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717181931; c=relaxed/simple; bh=mJQDp5OVE52hSetYA8xq+qtJdIpr+7mUyWY61xiyUKs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dL1Hpytp/D5SdO2N2P6IUzbZF9iVAn2dCNfanbepinnpbTuQ9LIQmUMZqB1nX1iTSm8zZBWOeD01zqvIQLY4oETSTyPsXBNSvT4DI0HuskkF6Na1h/vrbqWkAGfggNIMV4rp0EGiAdmdRyHdjEVeLk0N4I+chO5uLVesmHQ3Zyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=HHYVz9wH; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=Content-Type:MIME-Version:Message-ID:Subject:From:Date:From :Subject; bh=J00hHbCv0tmWX3RsYRCdEYWH/PP4cQcPiWZYM0T92ck=; b=HHYVz9wHuEJdBcIo WMaLl2zl1miSHNW8SWzfQ8zlbKPhzpnTRYCbSGom/Qg84Tce6JSpQ6CnsZqflASI4sKeFpCyID1Xq 2SDmzBFq0j6VcYuYM/+Uu+w48NyfzNz2ZZiPVBtyvVvaQ9oKVH2LeIqClHL8YpvHGgN0WdTr5gsVa tI/MGPmrflJGKPGpDw5TojQwAlSaeYphyvD3j+9JybofM9SdtevWaBpav+5+4tx/h4vdSejXMX/Ol WgnNnhn/Ea3x7Gwh2Qw+0va46CTBTClrDiTLXivI1fw/rqGZsTlCakCzbBe1b6HDHr6utrhGHfeBk D2Q0XVuDBIOu1lu6qQ==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1sD7Sf-003drn-1k; Fri, 31 May 2024 18:58:45 +0000 Date: Fri, 31 May 2024 18:58:45 +0000 From: "Dr. David Alan Gilbert" To: Muhammad Usama Anjum Cc: davidgow@google.com, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] list: test: remove unused struct 'klist_test_struct' Message-ID: References: <20240531151801.128792-1-linux@treblig.org> <89e07c93-a54d-4cc2-8ee1-664389ffcdd7@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <89e07c93-a54d-4cc2-8ee1-664389ffcdd7@collabora.com> X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 18:57:18 up 23 days, 6:11, 1 user, load average: 0.15, 0.03, 0.01 User-Agent: Mutt/2.2.12 (2023-09-09) * Muhammad Usama Anjum (usama.anjum@collabora.com) wrote: > On 5/31/24 8:18 PM, linux@treblig.org wrote: > > From: "Dr. David Alan Gilbert" > > > > 'klist_test_struct' has been unused since the original > > commit 57b4f760f94d ("list: test: Test the klist structure"). > Probably a fixes by tag would be needed here. I'm generally avoiding fixes tags in this set of changes, since a) They have no behavioural change at all. b) Downstream and stable kernel people use fixes tags to indicate stuff they should pick up if they have the original, and there's no need for them to do that with this cleanup. Dave > > > > Remove it. > > > > Signed-off-by: Dr. David Alan Gilbert > > --- > > lib/list-test.c | 6 ------ > > 1 file changed, 6 deletions(-) > > > > diff --git a/lib/list-test.c b/lib/list-test.c > > index 0cc27de9cec8..383ee0ad582e 100644 > > --- a/lib/list-test.c > > +++ b/lib/list-test.c > > @@ -1201,12 +1201,6 @@ static struct kunit_suite hlist_test_module = { > > }; > > > > > > -struct klist_test_struct { > > - int data; > > - struct klist klist; > > - struct klist_node klist_node; > > -}; > > - > > static int node_count; > > static struct klist_node *last_node; > > > > -- > BR, > Muhammad Usama Anjum -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/