From 24dcd04b959a02e5a9d841d066666046fe74559d Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 9 Jan 2019 14:36:46 +0100 Subject: [PATCH] infiband: remove non-supported infiniband_fd() function --- lib/nodes/infiniband.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/nodes/infiniband.c b/lib/nodes/infiniband.c index 6331e5266..f3bb35e25 100644 --- a/lib/nodes/infiniband.c +++ b/lib/nodes/infiniband.c @@ -992,11 +992,6 @@ int ib_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned *rele return sent; } -int ib_fd(struct node *n) -{ - return 0; -} - static struct plugin p = { .name = "infiniband", .description = "Infiniband interface (libibverbs, librdmacm)", @@ -1014,7 +1009,6 @@ static struct plugin p = { .stop = ib_stop, .read = ib_read, .write = ib_write, - .fd = ib_fd, .memory_type = memory_ib } };