From nobody Tue Feb 10 12:58:22 2026 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: quoted-printable Content-Type: text/plain; charset="utf-8" The module is never loaded successfully. Therefore, it'll never be unloaded and we can remove the exit function. Signed-off-by: Martin Kaiser Reviewed-by: Uladzislau Rezki (Sony) --- 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 */ } =20 -static void vmalloc_test_exit(void) -{ -} - module_init(vmalloc_test_init) -module_exit(vmalloc_test_exit) =20 MODULE_LICENSE("GPL"); MODULE_AUTHOR("Uladzislau Rezki"); --=20 2.39.2