Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1503059rbb; Mon, 26 Feb 2024 11:15:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXHaVsv4seLSlUo+jJaHvLqR9o4O7huJz/r9wzWTd65PeYJmCSJxGY4i/yeFP/RsuNbO4mgCcuV5TZL0NJYTiagg4KLBHgmDY7ZpXGavg== X-Google-Smtp-Source: AGHT+IEH9gAWYUnkJEJwU+lZ2vM+zyLUz+QIAhjHy9z4T+zumIarriExNVl/ZRDbMLTlrEwI8tWf X-Received: by 2002:a17:906:52cb:b0:a3f:b6f8:3969 with SMTP id w11-20020a17090652cb00b00a3fb6f83969mr4946705ejn.9.1708974958720; Mon, 26 Feb 2024 11:15:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708974958; cv=pass; d=google.com; s=arc-20160816; b=grPtYKSf5eskGFBPsi2KBqCRulp3ImAIJgQy/RH/14bBuQomxURDLG2aE2cFaAtWAx zRU5ZLVkKEVwzf/SidiTL6tGf7V9Q3S8U6deIia7uEp18UgM1iarf6nE0emfHHPt+eFL kLaAEmX3TF6YG/H8rSYJveMLTyuIRZQc6Z+uE4js5u76JQSH9dwNzhyJqylN4GXInrqk C7Or5kU1gMvAY6YM+WUMfWv3atcga6xAc6bzkbNdiTET+v7aqMaTSL1F2ze7heEmLf3g yJRbX60KoYVMcsTt5YeBW0hQx9O0WHibXY0iJg7cwOkep/juXJS0g5D1MN80Gf25tewb DtDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=Ck2bvUAeSScyvxh/3w8glXbW3nOpf86uMvVyHoFUnc8=; fh=ZOiUZw78YDuSKEMDtMAAmh4cqNO3x4538nPaaxlot7Y=; b=LtL79tGpLdZYxsREl2xIbkIpU0B1zMaJ5A8mJwbR5GexOcueJofSQn9J+kwoFVaAxe Y3gbqUccocu08ZlVxq0N99wYYs8BFb8YRQWGGIdFFJS48G5urQT5gcuNQ1tO369eB92N msi0GQ5xuDLnokFy6S4T/r/xYjT5duH0dssBP1IeoatGMKSy2NVNGptVTZZtnRtGGHRW OkIolkT1Kmgg5Iwf70JR4xoQSozbsUf8N1Lohir9Z0xUE5nsbffZKTjrrA7DbCoYaypY 6q/bPSitva8yxFd+Y4OS3Y00aK6rcFqJCIXqDOPCFAq95Ee+5jJQYgRNan4+6NjrbC/b Q8tQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kaiser.cx); spf=pass (google.com: domain of linux-kernel+bounces-82217-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82217-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id jp7-20020a170906f74700b00a430f79d6e1si32477ejb.164.2024.02.26.11.15.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 11:15:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82217-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kaiser.cx); spf=pass (google.com: domain of linux-kernel+bounces-82217-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82217-linux.lists.archive=gmail.com@vger.kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7C8041F29ACE for ; Mon, 26 Feb 2024 19:15:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09201130E53; Mon, 26 Feb 2024 19:13:29 +0000 (UTC) Received: from akranes.kaiser.cx (akranes.kaiser.cx [152.53.16.207]) (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 7F6E612FF8E for ; Mon, 26 Feb 2024 19:13:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=152.53.16.207 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708974808; cv=none; b=ZWvhc66Gw6/hU4Mv9CJOMwIa60N22bFCh8isLCqUal+5zNZy3wgOoWNkjlkXr/V3Pn44y405AArp/qrnKC7LC+TWpFYS0TuD1+oSofdyyC8qg+CKmRsXngtR2FFkWdIMkDw/2jVHKZoOfh9Q9BEl5eC9vR0scUjwPsI6aYeoxns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708974808; c=relaxed/simple; bh=EB1BnjvStlE/zAy+upOpHVeXAZqFpUO5iqpwHdU1S+M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=k3nnahOEMY0iH53t38WL+3F9XWrtn/sB/pW2Hgi4jT2ETdn7L6Dx2SVYyrLy+QEr7ixqUquNeIZIzl3BYiaah+ruEDymWIjsGkT++FbN5V6UOo19gpKsCJSvephifK30K/+rVOSpqxXH9fkHXJ9ITyfBe3yNoBRldj0kK8Mc+Tk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kaiser.cx; spf=pass smtp.mailfrom=kaiser.cx; arc=none smtp.client-ip=152.53.16.207 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kaiser.cx Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kaiser.cx Received: from dslb-188-097-209-155.188.097.pools.vodafone-ip.de ([188.97.209.155] helo=martin-debian-2.paytec.ch) by akranes.kaiser.cx with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1regPP-001h9S-0g; Mon, 26 Feb 2024 20:13:03 +0100 From: Martin Kaiser To: Andrew Morton Cc: Uladzislau Rezki , linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 2/3] lib/test_vmalloc.c: drop empty exit function Date: Mon, 26 Feb 2024 20:11:58 +0100 Message-Id: <20240226191159.39509-3-martin@kaiser.cx> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226191159.39509-1-martin@kaiser.cx> References: <20240226191159.39509-1-martin@kaiser.cx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The module is never loaded successfully. Therefore, it'll never be unloaded and we can remove the exit function. Signed-off-by: Martin Kaiser --- lib/test_vmalloc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/test_vmalloc.c b/lib/test_vmalloc.c index 191b6bd5dff9..d0c0cbe1913d 100644 --- a/lib/test_vmalloc.c +++ b/lib/test_vmalloc.c @@ -600,12 +600,7 @@ static int vmalloc_test_init(void) return -EAGAIN; /* Fail will directly unload the module */ } -static void vmalloc_test_exit(void) -{ -} - module_init(vmalloc_test_init) -module_exit(vmalloc_test_exit) MODULE_LICENSE("GPL"); MODULE_AUTHOR("Uladzislau Rezki"); -- 2.39.2