scsi: isci: remote_node_context: Fix one function header and demote a couple more
Fixes the following W=1 kernel build warning(s): drivers/scsi/isci/remote_node_context.c:77: warning: Cannot understand * drivers/scsi/isci/remote_node_context.c:167: warning: Cannot understand * drivers/scsi/isci/remote_node_context.c:206: warning: Cannot understand * Link: https://lore.kernel.org/r/20210317091230.2912389-25-lee.jones@linaro.org Cc: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
103d61927e
Коммит
ad276048f1
|
@ -74,7 +74,7 @@ const char *rnc_state_name(enum scis_sds_remote_node_context_states state)
|
||||||
#undef C
|
#undef C
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* sci_remote_node_context_is_ready()
|
||||||
* @sci_rnc: The state of the remote node context object to check.
|
* @sci_rnc: The state of the remote node context object to check.
|
||||||
*
|
*
|
||||||
* This method will return true if the remote node context is in a READY state
|
* This method will return true if the remote node context is in a READY state
|
||||||
|
@ -163,12 +163,7 @@ static void sci_remote_node_context_construct_buffer(struct sci_remote_node_cont
|
||||||
rnc->ssp.oaf_source_zone_group = 0;
|
rnc->ssp.oaf_source_zone_group = 0;
|
||||||
rnc->ssp.oaf_more_compatibility_features = 0;
|
rnc->ssp.oaf_more_compatibility_features = 0;
|
||||||
}
|
}
|
||||||
/**
|
/*
|
||||||
*
|
|
||||||
* @sci_rnc:
|
|
||||||
* @callback:
|
|
||||||
* @callback_parameter:
|
|
||||||
*
|
|
||||||
* This method will setup the remote node context object so it will transition
|
* This method will setup the remote node context object so it will transition
|
||||||
* to its ready state. If the remote node context is already setup to
|
* to its ready state. If the remote node context is already setup to
|
||||||
* transition to its final state then this function does nothing. none
|
* transition to its final state then this function does nothing. none
|
||||||
|
@ -203,8 +198,6 @@ static void sci_remote_node_context_setup_to_destroy(
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
*
|
|
||||||
* This method just calls the user callback function and then resets the
|
* This method just calls the user callback function and then resets the
|
||||||
* callback.
|
* callback.
|
||||||
*/
|
*/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче