Commit 64dc4f34 authored by Saurav Girepunje's avatar Saurav Girepunje Committed by Martin K. Petersen

scsi: csiostor: Return value not required for csio_dfs_destroy

Only csio_hw_free() calling csio_dfs_destroy() and it is not checking
return value. So remove the return from csio_dfs_destroy().

Link: https://lore.kernel.org/r/20191028194234.GA27848@sauravSigned-off-by: default avatarSaurav Girepunje <saurav.girepunje@gmail.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 75a740e6
...@@ -154,12 +154,10 @@ csio_dfs_create(struct csio_hw *hw) ...@@ -154,12 +154,10 @@ csio_dfs_create(struct csio_hw *hw)
/* /*
* csio_dfs_destroy - Destroys per-hw debugfs. * csio_dfs_destroy - Destroys per-hw debugfs.
*/ */
static int static void
csio_dfs_destroy(struct csio_hw *hw) csio_dfs_destroy(struct csio_hw *hw)
{ {
debugfs_remove_recursive(hw->debugfs_root); debugfs_remove_recursive(hw->debugfs_root);
return 0;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment