From 0dfa55e06d18098330d93af9d8424a0440a54a4d Mon Sep 17 00:00:00 2001 From: Subash Abhinov Kasiviswanathan Date: Tue, 17 Mar 2020 21:08:30 -0600 Subject: [PATCH] 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: Subash Abhinov Kasiviswanathan --- core/rmnet_config.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/rmnet_config.c b/core/rmnet_config.c index 1c562203502f..4e8910e747ba 100644 --- a/core/rmnet_config.c +++ b/core/rmnet_config.c @@ -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;