From fbdf545556c1fe85e5c35001af675ea0cb8ab968 Mon Sep 17 00:00:00 2001
From: Weili Qian <qianweili@huawei.com>
Date: Sat, 23 Jul 2022 10:48:56 +0800
Subject: [PATCH 170/183] drv/hpre: remove repeatedly included header file

Some header files have included in hisi_qm_udrv.h, remove them from
hisi_hpre.c.

Signed-off-by: Weili Qian <qianweili@huawei.com>
---
 drv/hisi_hpre.c          | 10 ++--------
 include/drv/wd_rsa_drv.h |  2 ++
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/drv/hisi_hpre.c b/drv/hisi_hpre.c
index 4c6e532..8454eff 100644
--- a/drv/hisi_hpre.c
+++ b/drv/hisi_hpre.c
@@ -2,19 +2,13 @@
 /* Copyright 2020-2021 Huawei Technologies Co.,Ltd. All rights reserved. */
 
 #include <stdlib.h>
-#include <unistd.h>
 #include <stdio.h>
-#include <sys/mman.h>
-#include <assert.h>
-#include <string.h>
-#include <stdint.h>
-#include <fcntl.h>
-#include <sys/stat.h>
+#include <unistd.h>
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
+#include <sys/mman.h>
 #include <sys/types.h>
 #include "hisi_qm_udrv.h"
-#include "wd.h"
 #include "../include/drv/wd_rsa_drv.h"
 #include "../include/drv/wd_dh_drv.h"
 #include "../include/drv/wd_ecc_drv.h"
diff --git a/include/drv/wd_rsa_drv.h b/include/drv/wd_rsa_drv.h
index 28c3337..83f1af2 100644
--- a/include/drv/wd_rsa_drv.h
+++ b/include/drv/wd_rsa_drv.h
@@ -3,6 +3,8 @@
 #ifndef __WD_RSA_DRV_H
 #define __WD_RSA_DRV_H
 
+#include <asm/types.h>
+
 #include "../wd_rsa.h"
 
 #ifdef __cplusplus
-- 
2.27.0

