From nobody Sun Feb 8 19:54:42 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 3018F27F749 for ; Wed, 4 Feb 2026 14:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770216856; cv=none; b=lGhsfrrLS4yWnJ7yG8R8Fo/VL38B+5Wky7kQUeTNFma9bkP6pxyAxo+CiCMBSl3mK+cL+Pj/NH4uC7dY6k7tEAsQn0jbr+AhYK/8gSstP7M2ixF76ExQ/McmEOEFO7GSK8UGg/zosA/sit6tSCP9Zmr/PGdm6KoCCpODu7e/a90= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770216856; c=relaxed/simple; bh=/Gpqv79U2S00zo9a7zY7AaE+cnW02/ouX1T7f4+Ng34=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nMmm1KjpMuqMKT5xMKF2yi7ZYgzuz41W4dFMAaSSDiXv1supOJwoTuzhMVIqOLFtb+Bq+CrySPxA/DWZdgJ/6dBOKUlrzP8u8N5u7fm+BB53ooYaobhCGsuCe1ffPfjG1hGKBT0F9UAhaZcfjVmb82VplRANHykbwVgfuHvFdF4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=IKJsYDz6; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IKJsYDz6" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770216855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4sKMhVxePK4zfkjpLf50eQqIDuXbhhCmqVw0kSawiaE=; b=IKJsYDz6SyL7vn6PjAYUCYBjr6y/YnDqOUoB7WsD2fdo7ERPokloHcthhWEL5YL5uTrpmn 98mjQaLJGAzX4Ctk3pdRd10GCiZ7IayZDCyoofSDlKW13pEnFdVRXDodWGajojCnm+MdsE J1ZmSqyCCjPEpJBwrWr++2uHZZzf/P8= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-554-ItxIA8W1OjaJs37lndZHLQ-1; Wed, 04 Feb 2026 09:54:12 -0500 X-MC-Unique: ItxIA8W1OjaJs37lndZHLQ-1 X-Mimecast-MFC-AGG-ID: ItxIA8W1OjaJs37lndZHLQ_1770216851 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0D1B21956052; Wed, 4 Feb 2026 14:54:11 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.22.88.140]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7CD3730001BC; Wed, 4 Feb 2026 14:54:08 +0000 (UTC) From: Wander Lairson Costa To: Steven Rostedt , Gabriele Monaco , Nam Cao , Wander Lairson Costa , linux-trace-kernel@vger.kernel.org (open list:RUNTIME VERIFICATION (RV)), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 13/20] rv/rvgen: remove unused __get_main_name method Date: Wed, 4 Feb 2026 11:42:39 -0300 Message-ID: <20260204144914.104028-14-wander@redhat.com> In-Reply-To: <20260204144914.104028-1-wander@redhat.com> References: <20260204144914.104028-1-wander@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Content-Type: text/plain; charset="utf-8" The __get_main_name() method in the generator module is never called from anywhere in the codebase. Remove this dead code to improve maintainability. Signed-off-by: Wander Lairson Costa Reviewed-by: Gabriele Monaco --- tools/verification/rvgen/rvgen/generator.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/verification/rvgen/rvgen/generator.py b/tools/verificati= on/rvgen/rvgen/generator.py index 31c454329e8e1..ef6c9150f50c6 100644 --- a/tools/verification/rvgen/rvgen/generator.py +++ b/tools/verification/rvgen/rvgen/generator.py @@ -205,12 +205,6 @@ obj-$(CONFIG_RV_MON_{name_up}) +=3D monitors/{name}/{n= ame}.o path =3D os.path.join(self.rv_dir, "monitors", path) self.__write_file(path, content) =20 - def __get_main_name(self): - path =3D f"{self.name}/main.c" - if not os.path.exists(path): - return "main.c" - return "__main.c" - def print_files(self): main_c =3D self.fill_main_c() =20 --=20 2.52.0