55 lines
1.4 KiB
Diff
55 lines
1.4 KiB
Diff
From 6bb23a7d5d8bf7afda47bddd52e16bf72b446f6b Mon Sep 17 00:00:00 2001
|
|
From: Weili Qian <qianweili@huawei.com>
|
|
Date: Thu, 30 Nov 2023 15:51:28 +0800
|
|
Subject: [PATCH 109/114] uadk/v1: remove duplicate header files
|
|
|
|
Some of the header files are already included in wd.h,
|
|
and hisi_rng_udrv.h already includes wd.h. Therefore,
|
|
the hisi_rng_udrv.c file does not need to include these
|
|
header files repeatedly.
|
|
|
|
Signed-off-by: Weili Qian <qianweili@huawei.com>
|
|
---
|
|
v1/drv/hisi_rng_udrv.c | 6 ------
|
|
v1/drv/hisi_rng_udrv.h | 1 -
|
|
2 files changed, 7 deletions(-)
|
|
|
|
diff --git a/v1/drv/hisi_rng_udrv.c b/v1/drv/hisi_rng_udrv.c
|
|
index 09fa2c3..86a20cb 100644
|
|
--- a/v1/drv/hisi_rng_udrv.c
|
|
+++ b/v1/drv/hisi_rng_udrv.c
|
|
@@ -18,18 +18,12 @@
|
|
#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 <sys/ioctl.h>
|
|
#include <sys/epoll.h>
|
|
#include <sys/eventfd.h>
|
|
#include <sys/types.h>
|
|
-#include <unistd.h>
|
|
|
|
-#include "config.h"
|
|
#include "hisi_rng_udrv.h"
|
|
|
|
#define HISI_RNG_BYTES 4
|
|
diff --git a/v1/drv/hisi_rng_udrv.h b/v1/drv/hisi_rng_udrv.h
|
|
index 93f2f91..56814a4 100644
|
|
--- a/v1/drv/hisi_rng_udrv.h
|
|
+++ b/v1/drv/hisi_rng_udrv.h
|
|
@@ -18,7 +18,6 @@
|
|
#define __HISI_RNG_UDRV_H__
|
|
|
|
#include <linux/types.h>
|
|
-#include "config.h"
|
|
#include "v1/wd.h"
|
|
#include "v1/wd_util.h"
|
|
#include "v1/wd_rng.h"
|
|
--
|
|
2.25.1
|
|
|