Skip to content

Commit

Permalink
uadk: v1: remove dummy
Browse files Browse the repository at this point in the history
dummy is no longer use, remove it.

Signed-off-by: Wenkai Lin <[email protected]>
Signed-off-by: JiangShui Yang <[email protected]>
  • Loading branch information
Wenkai Lin authored and Liulongfang committed Apr 9, 2024
1 parent 8c1b433 commit 4a43aa8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 185 deletions.
1 change: 0 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ libwd_la_SOURCES=wd.c wd_mempool.c wd.h wd_alg.c wd_alg.h \
v1/wd_bmm.c v1/wd_bmm.h \
v1/wd_ecc.c v1/wd_ecc.h \
v1/wd_sgl.c v1/wd_sgl.h \
v1/drv/dummy_drv.c v1/drv/dummy_drv.h \
v1/drv/hisi_qm_udrv.c v1/drv/hisi_qm_udrv.h \
v1/drv/hisi_zip_udrv.c v1/drv/hisi_zip_udrv.h \
v1/drv/hisi_hpre_udrv.c v1/drv/hisi_hpre_udrv.h \
Expand Down
45 changes: 0 additions & 45 deletions v1/internal/wd_dummy_usr_if.h

This file was deleted.

126 changes: 0 additions & 126 deletions v1/test/test_dummy.c

This file was deleted.

13 changes: 0 additions & 13 deletions v1/wd_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "config.h"
#include "v1/wd_util.h"
#include "v1/drv/dummy_drv.h"
#include "v1/drv/hisi_qm_udrv.h"
#include "v1/drv/hisi_rng_udrv.h"
#include "v1/wd_adapter.h"
Expand All @@ -29,18 +28,6 @@
#define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a)-1)

static const struct wd_drv_dio_if hw_dio_tbl[] = { {
.hw_type = "dummy_v1",
.open = dummy_set_queue_dio,
.close = dummy_unset_queue_dio,
.send = dummy_add_to_dio_q,
.recv = dummy_get_from_dio_q,
}, {
.hw_type = "dummy_v2",
.open = dummy_set_queue_dio,
.close = dummy_unset_queue_dio,
.send = dummy_add_to_dio_q,
.recv = dummy_get_from_dio_q,
}, {
.hw_type = HISI_QM_API_VER_BASE WD_UACCE_API_VER_NOIOMMU_SUBFIX,
.open = qm_init_queue,
.close = qm_uninit_queue,
Expand Down

0 comments on commit 4a43aa8

Please sign in to comment.