IB/hfi1: Fix up sdma_init function comment

sdma_init does not take a number of sdma engine parameters,
rather it initializes all of the sdma engines.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Ira Weiny 2017-05-26 05:36:04 -07:00 committed by Doug Ledford
parent b4e9e2f0fc
commit 90dba23e1e
1 changed files with 2 additions and 4 deletions

View File

@ -1340,10 +1340,8 @@ static void sdma_clean(struct hfi1_devdata *dd, size_t num_engines)
* @dd: hfi1_devdata * @dd: hfi1_devdata
* @port: port number (currently only zero) * @port: port number (currently only zero)
* *
* sdma_init initializes the specified number of engines. * Initializes each sde and its csrs.
* * Interrupts are not required to be enabled.
* The code initializes each sde, its csrs. Interrupts
* are not required to be enabled.
* *
* Returns: * Returns:
* 0 - success, -errno on failure * 0 - success, -errno on failure