From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Thu, 10 Apr 2008 09:12:03 +0000 (-0700)
Subject: iucv: get rid of in_atomic() use.
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9284d6c704b5cfc7f2eb44f81255b4762bcfe4c5;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git

iucv: get rid of in_atomic() use.

This BUG_ON is not needed, since all (debug) checks are also done
in smp_call_function() which gets called by this function.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index d764f4c1b7e4..a65e69eaea2f 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -795,7 +795,6 @@ int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,
 	union iucv_param *parm;
 	int rc;
 
-	BUG_ON(in_atomic());
 	spin_lock_bh(&iucv_table_lock);
 	iucv_cleanup_queue();
 	parm = iucv_param[smp_processor_id()];