scsi: csiostor: Return value not required for csio_dfs_destroy
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Mon, 28 Oct 2019 19:42:34 +0000 (01:12 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 2 Nov 2019 00:22:05 +0000 (20:22 -0400)
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@saurav
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_init.c

index f98f36c..2e8a3ac 100644 (file)
@@ -154,12 +154,10 @@ csio_dfs_create(struct csio_hw *hw)
 /*
  * csio_dfs_destroy - Destroys per-hw debugfs.
  */
-static int
+static void
 csio_dfs_destroy(struct csio_hw *hw)
 {
        debugfs_remove_recursive(hw->debugfs_root);
-
-       return 0;
 }
 
 /*