/** * aer_delete_rootport - disable root port aer and delete service data * @rpc: pointer to a root port device being deleted * * Invoked when AER service unloaded on a specific Root Port */ void aer_delete_rootport(struct aer_rpc *rpc) { /* Disable root port AER itself */ disable_root_aer(rpc); kfree(rpc); }
void aer_delete_rootport(struct aer_rpc *rpc) { disable_root_aer(rpc); kfree(rpc); }