From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 33CE232ABE1 for ; Sat, 31 Jan 2026 21:30:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769895011; cv=none; b=F4fm5Rc/gAzFiyUwyEd2qW4SmiFIigq+sKFVidzrIit7aPwWSWOv9oS/96k34URHbMpEpKZN7efMGh/6KBG/QlrWWmUMKh9ImZ2rikkvyetwCtHHdAqLPsMFgT6weHETrxsaJi5XTwLkFaJGiQgVCsrKcpxwAaDbBioj9+PahdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769895011; c=relaxed/simple; bh=bVN+iVq2LVQdCnKQNtrh4bLJRpC4u0FuCf9+45b8zG4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UVmcq0FpjCF5I3kABtiTemzuc1tdeu7FRvl9pnFvWAsm60qa81tWEv2ClRQY1cmqIwNtREG9rBGsj/fSP/CRLO61ZIHo59/pgBM2D0ym+BglR+nB2J9jRCpgRrsKtPZEMoM9dYu+47vzT4dXKNGRYuwcVktL8GBJlqjsUE80cGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vmIXb-0000Vp-B7; Sat, 31 Jan 2026 22:30:03 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vmIXY-003T6i-2x; Sat, 31 Jan 2026 22:30:00 +0100 Received: from mgr by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1vmIXY-008Yda-0E; Sat, 31 Jan 2026 22:30:00 +0100 Date: Sat, 31 Jan 2026 22:30:00 +0100 From: Michael Grzeschik To: Ethan Nelson-Moore Cc: netdev@vger.kernel.org, linux-can@vger.kernel.org, linux-wireless@vger.kernel.org, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marc Kleine-Budde , Vincent Mailhol , Ido Schimmel , Petr Machata , Sridhar Samudrala , Toke =?iso-8859-15?Q?H=F8iland-J=F8rgensen?= , Ping-Ke Shih , Thomas =?iso-8859-15?Q?M=FChlbacher?= , Oliver Hartkopp Subject: Re: [PATCH net-next] net: remove unnecessary module_init/exit functions Message-ID: References: <20260131004327.18112-1-enelsonmoore@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ORv+QzYuE6v8IEJJ" Content-Disposition: inline In-Reply-To: <20260131004327.18112-1-enelsonmoore@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mgr@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: netdev@vger.kernel.org --ORv+QzYuE6v8IEJJ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2026 at 04:42:56PM -0800, Ethan Nelson-Moore wrote: >Many network drivers have unnecessary empty module_init and module_exit >functions. Remove them (including some that just print a message). Note >that if a module_init function exists, a module_exit function must also >exist; otherwise, the module cannot be unloaded. > >Signed-off-by: Ethan Nelson-Moore >--- > drivers/net/arcnet/com20020.c | 16 ---------- For drivers/net/arcnet: Acked-by: Michael Grzeschik Michael --=20 Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --ORv+QzYuE6v8IEJJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEElXvEUs6VPX6mDPT8C+njFXoeLGQFAml+dFIACgkQC+njFXoe LGTXNg//bvb0zku2NhtssRocv3TCAmztScaj1GTWJDMPG3DloaH+QHKk0urYEF9M 1MnNzuReMBuq7jNNP0u8006plqueXvnTnqqpCfNRRar+ycegW2PPwcT1I6z3vFP2 dR/k4ICBtXr4OIMxalzATJNgj7N/YJ0+sRclt+1h2IrI//r/lq7xmDVwrmWI780+ /zE5EXLYMsY7PPRDvy1i2QMZGBdFT17tWNu1EpHEPRw57F7N+4lBu2bpJMUO6tJc datWBEGwFnCDp0ymPQuMabKtguiT+kqEQk5rFanCFPYGrGb9X0fpSRoLU+A81qjv 4UGPzWRxgzmbA/EgHN7h8bSuyqNk8fmMEvLiKG19FRwLYcya0L0e0yMZtv4tPEXf O03wGQvEdNYmpV36TyMv1eViHSVaa6lZjv1YfQ8BrnxVrrEEVv/FK2/4/CkragRQ GnIHuUBijn5y1ZFYIDlsoAgOUGMbNa4JRXjBn+tR/kAp6t6OjUeFWbLbv4+7oiF/ MOOHImuAwscGA1ONwMN8xwOGwqmDivPYxX2lHJzO3pMQcVc+jKWrdbkysPxHMw8o CihsNzmc6gJy5RrP3b8STwQ2Ns6yxL1cOUD+tNqyGwSlV9wGSXdWzMItEC0xuRUe dZwtadcUppPIOs0oso/Qpt6susdJHWpzmYemLKzVSDuX0s79dJc= =v+0W -----END PGP SIGNATURE----- --ORv+QzYuE6v8IEJJ--