aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/crypto/hisilicon/hpre/hpre.h
diff options
context:
space:
mode:
authorMeng Yu <yumeng18@huawei.com>2020-09-19 11:13:50 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-09-25 17:48:52 +1000
commit7747cffe0676b37a38c2f320b2ddbcb8d82d81a4 (patch)
tree8e4dde9a1f1024758c549b01017240aa90138d10 /drivers/crypto/hisilicon/hpre/hpre.h
parentcrypto: chelsio - fix minor indentation issue (diff)
downloadwireguard-linux-7747cffe0676b37a38c2f320b2ddbcb8d82d81a4.tar.xz
wireguard-linux-7747cffe0676b37a38c2f320b2ddbcb8d82d81a4.zip
crypto: hisilicon/hpre - remove useless code
1. Remove unused member 'debug_root' in 'struct hpre_debug'; 2. The u64 cast is redundant in 'cpu_to_le64'. Fixes: 848974151618("crypto: hisilicon - Add debugfs for HPRE") Fixes: dadbe4c11753("crypto: hisilicon/hpre - update debugfs ...") Signed-off-by: Meng Yu <yumeng18@huawei.com> Reviewed-by: Zaibo Xu <xuzaibo@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/hpre/hpre.h')
-rw-r--r--drivers/crypto/hisilicon/hpre/hpre.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/hpre/hpre.h b/drivers/crypto/hisilicon/hpre/hpre.h
index ed730d173e95..f69252b24671 100644
--- a/drivers/crypto/hisilicon/hpre/hpre.h
+++ b/drivers/crypto/hisilicon/hpre/hpre.h
@@ -56,7 +56,6 @@ struct hpre_dfx {
* Just relevant for PF.
*/
struct hpre_debug {
- struct dentry *debug_root;
struct hpre_dfx dfx[HPRE_DFX_FILE_NUM];
struct hpre_debugfs_file files[HPRE_DEBUGFS_FILE_NUM];
};