• Rolf Eike Beer's avatar
    [PATCH] CompactPCI: remove two useless checks · c1600f7c
    Rolf Eike Beer authored
    This two checks are useless: cpci_hp_register_bus is only called from two
    places, one has constant arguments, the other one passes the module
    parameters which are checked for this condition on module load. And the bus
    argument of cpci_hp_unregister_bus can never be NULL, all functions calling
    this function use fields of the bus struct before so they will oops if it
    would ever be NULL.
    
    Eike
    c1600f7c
cpci_hotplug_core.c 20.2 KB