scsi: snic: no need to check return value of debugfs_create functions
commitfd84ec206d7a0d5a2aa0c3c78868deec6bfcd050
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:09:03 +0000 (22 16:09 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Jan 2019 05:40:54 +0000 (29 00:40 -0500)
tree733e4d7de95c57a0baf954639d8e36ec25276edc
parent1dbaa379a419343dab5f99f253d8225b5ab4f939
scsi: snic: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the return
value.  The function can work or not, but the code logic should never do
something different based on this.

Cc: Karan Tilak Kumar <kartilak@cisco.com>
Cc: Sesidhar Baddela <sebaddel@cisco.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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic_debugfs.c
drivers/scsi/snic/snic_main.c
drivers/scsi/snic/snic_stats.h
drivers/scsi/snic/snic_trc.c
drivers/scsi/snic/snic_trc.h