diff options
Diffstat (limited to 'src/core/xfer.c')
-rw-r--r-- | src/core/xfer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/xfer.c b/src/core/xfer.c index e8503476..14c77d64 100644 --- a/src/core/xfer.c +++ b/src/core/xfer.c @@ -402,10 +402,4 @@ struct xfer_interface_operations null_xfer_ops = { * connected when unplugged. It will never generate messages, and * will silently absorb all received messages. */ -struct xfer_interface null_xfer = { - .intf = { - .dest = &null_xfer.intf, - .refcnt = NULL, - }, - .op = &null_xfer_ops, -}; +struct xfer_interface null_xfer = XFER_INIT ( &null_xfer_ops ); |