summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael Brown2008-01-22 19:48:47 +0100
committerMichael Brown2008-01-22 19:48:47 +0100
commita2b4252d5acb9e375b84dfaefa97e891983193b6 (patch)
tree7d231c9cfc41084d9704df293b9ee5474b2c61bf /src/core
parentMake seek information part of the xfer metadata, rather than an entirely (diff)
downloadipxe-a2b4252d5acb9e375b84dfaefa97e891983193b6.tar.gz
ipxe-a2b4252d5acb9e375b84dfaefa97e891983193b6.tar.xz
ipxe-a2b4252d5acb9e375b84dfaefa97e891983193b6.zip
Add XFER_INIT() macro.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/xfer.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/xfer.c b/src/core/xfer.c
index e8503476b..14c77d64f 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 );