|
@@ -207,25 +207,6 @@ static inline bool cds_is_module_stop_in_progress(void)
|
|
|
return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_MODULE_STOPPING);
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
- * cds_is_module_state_transitioning() - Is module state transitioning
|
|
|
- *
|
|
|
- * Return: true if module stop is in progress.
|
|
|
- */
|
|
|
-static inline int cds_is_module_state_transitioning(void)
|
|
|
-{
|
|
|
- if (cds_is_load_or_unload_in_progress() || cds_is_driver_recovering() ||
|
|
|
- cds_is_module_stop_in_progress()) {
|
|
|
- pr_info("%s: Load/Unload %d or recovery %d or module_stop %d is in progress",
|
|
|
- __func__, cds_is_load_or_unload_in_progress(),
|
|
|
- cds_is_driver_recovering(),
|
|
|
- cds_is_module_stop_in_progress());
|
|
|
- return true;
|
|
|
- } else {
|
|
|
- return false;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
/**
|
|
|
* cds_is_fw_down() - Is FW down or not
|
|
|
*
|