]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/xen/events.c
xen: unitialised return value in xenbus_write_transaction
[karo-tx-linux.git] / drivers / xen / events.c
index add640ff5c6c873c6b43383b096ac947c6eab02f..eb0dfdeaa9494ac3043f13db5cbd1bf0c0dd5751 100644 (file)
@@ -142,9 +142,6 @@ static void init_evtchn_cpu_bindings(void)
 
        /* By default all event channels notify CPU#0. */
        for_each_irq_desc(i, desc) {
-               if (!desc)
-                       continue;
-
                desc->affinity = cpumask_of_cpu(0);
        }
 #endif