scsi: hisi_sas: No need to check return value of debugfs_create functions
authorJohn Garry <john.garry@huawei.com>
Fri, 25 Jan 2019 14:22:27 +0000 (22:22 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Jan 2019 06:41:19 +0000 (01:41 -0500)
commitc2c7e740577154e755ec373712e32e5864e88315
tree68219c721eb3f700f0bbc191d43fd7036cef5871
parent7e1c99e5c1dd919cd974c4531164c13998e44cba
scsi: hisi_sas: 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.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c