These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / mips / pci / ops-emma2rh.c
index 710aef5..2dc97c4 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/types.h>
 
 #include <asm/addrspace.h>
-#include <asm/debug.h>
 
 #include <asm/emma/emma2rh.h>
 
 static int check_args(struct pci_bus *bus, u32 devfn, u32 * bus_num)
 {
        /* check if the bus is top-level */
-       if (bus->parent != NULL) {
+       if (bus->parent != NULL)
                *bus_num = bus->number;
-               db_assert(bus_num != NULL);
-       } else
+       else
                *bus_num = 0;
 
        if (*bus_num == 0) {