Message ID | 20190122151422.14204-1-gregkh@linuxfoundation.org (mailing list archive) |
---|---|
Headers | show |
Series | crypto: cleanup debugfs usage | expand |
On Tue, Jan 22, 2019 at 04:14:15PM +0100, Greg Kroah-Hartman wrote: > When calling debugfs code, there is no need to ever check the return > value of the call, as no logic should ever change if a call works > properly or not. Fix up a bunch of crypto-specific code to not care > about the results of debugfs. > > Greg Kroah-Hartman (7): > crypto: qat: no need to check return value of debugfs_create functions > crypto: ccrree: no need to check return value of debugfs_create > functions > crypto: axis: no need to check return value of debugfs_create > functions > crypto: cavium: zip: no need to check return value of debugfs_create > functions > crypto: cavium: nitrox: no need to check return value of > debugfs_create functions > crypto: ccp: no need to check return value of debugfs_create functions > crypto: caam: no need to check return value of debugfs_create > functions > > drivers/crypto/axis/artpec6_crypto.c | 9 ---- > drivers/crypto/caam/ctrl.c | 21 +++----- > drivers/crypto/caam/intern.h | 1 - > drivers/crypto/cavium/nitrox/nitrox_debugfs.c | 27 ++-------- > drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 5 +- > drivers/crypto/cavium/nitrox/nitrox_main.c | 4 +- > drivers/crypto/cavium/zip/zip_main.c | 52 ++++--------------- > drivers/crypto/ccp/ccp-debugfs.c | 36 +++---------- > drivers/crypto/ccree/cc_debugfs.c | 22 ++------ > drivers/crypto/ccree/cc_debugfs.h | 8 +-- > drivers/crypto/ccree/cc_driver.c | 7 +-- > drivers/crypto/qat/qat_c3xxx/adf_drv.c | 5 -- > drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 5 -- > drivers/crypto/qat/qat_c62x/adf_drv.c | 5 -- > drivers/crypto/qat/qat_c62xvf/adf_drv.c | 5 -- > drivers/crypto/qat/qat_common/adf_cfg.c | 7 --- > drivers/crypto/qat/qat_common/adf_transport.c | 6 --- > .../qat/qat_common/adf_transport_debug.c | 15 ------ > drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 5 -- > drivers/crypto/qat/qat_dh895xccvf/adf_drv.c | 5 -- > 20 files changed, 38 insertions(+), 212 deletions(-) All applied. Thanks.