]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
iucv: get rid of in_atomic() use.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 10 Apr 2008 09:12:03 +0000 (02:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Apr 2008 09:12:03 +0000 (02:12 -0700)
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>
net/iucv/iucv.c

index d764f4c1b7e4eac68962e3bb95b37df2d57ece97..a65e69eaea2fb9e9bb287b1ec133d6aaa6cb268b 100644 (file)
@@ -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()];