Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0dfa55e0 authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

core: rmnet: Remove unnecessary warning



Remove warning from module load. Fixes the following-

WARNING: CPU: 2 PID: 735 at core/rmnet_config.c:753
 init_module+0x18/0x64 [rmnet_core]
pstate: 60400005 (nZCv daif +PAN -UAO)
pc : init_module+0x18/0x64 [rmnet_core]
lr : do_one_initcall+0x190/0x380
Call trace:
 init_module+0x18/0x64 [rmnet_core]
 do_one_initcall+0x190/0x380
 do_init_module+0x5c/0x210
 load_module+0x45d8/0x480c
 __arm64_sys_finit_module+0xec/0x120
 el0_svc_common+0xbc/0x1c0
 el0_svc_handler+0x6c/0x88
 el0_svc+0x8/0xc

CRs-Fixed: 2644088
Change-Id: Icab7f3b3021a94e4376374b9cb3b905178f9894a
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 60941392
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -750,7 +750,6 @@ static int __init rmnet_init(void)
{
	int rc;

	WARN_ON(1);
	rc = register_netdevice_notifier(&rmnet_dev_notifier);
	if (rc != 0)
		return rc;