lib/iscsi: Remove unnecessary declaration about random functions

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ib590a62d400a3b0b47d8b9733010725637847446
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470260
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Shuhei Matsumoto 2019-10-03 07:56:08 +09:00 committed by Changpeng Liu
parent fd98a83ce7
commit d8fa5bc145

View File

@ -76,15 +76,6 @@ struct spdk_iscsi_globals g_spdk_iscsi = {
.poll_group_head = TAILQ_HEAD_INITIALIZER(g_spdk_iscsi.poll_group_head),
};
/* random value generation */
static void gen_random(uint8_t *buf, size_t len);
#ifndef HAVE_SRANDOMDEV
static void srandomdev(void);
#endif /* HAVE_SRANDOMDEV */
#ifndef HAVE_ARC4RANDOM
/* static uint32_t arc4random(void); */
#endif /* HAVE_ARC4RANDOM */
static int add_transfer_task(struct spdk_iscsi_conn *conn,
struct spdk_iscsi_task *task);