Skip to content

Commit

Permalink
Use XFER_INIT() macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Jan 22, 2008
1 parent a2b4252 commit 84f99f7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/interface/pxe/pxe_udp.c
Expand Up @@ -111,13 +111,7 @@ static struct xfer_interface_operations pxe_udp_xfer_operations = {

/** The PXE UDP connection */
static struct pxe_udp_connection pxe_udp = {
.xfer = {
.intf = {
.dest = &null_xfer.intf,
.refcnt = NULL,
},
.op = &pxe_udp_xfer_operations,
},
.xfer = XFER_INIT ( &pxe_udp_xfer_operations ),
.local = {
.sin_family = AF_INET,
},
Expand Down

0 comments on commit 84f99f7

Please sign in to comment.