aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/open.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-07-15 18:46:58 +0100
committerMichael Brown <mcb30@ipxe.org>2020-07-15 18:46:58 +0100
commita95a2eafc58b921431cbd53fc0cbff6a1a7761d1 (patch)
tree96dc1a59f580045d0d75067c0836700cc2d707ef /src/include/ipxe/open.h
parent78ca890c35d6979fe62fa66e16e7501abb831034 (diff)
downloadipxe-a95a2eafc58b921431cbd53fc0cbff6a1a7761d1.tar.gz
[xfer] Remove address family from definition of a socket opener
All implemented socket openers provide definitions for both IPv4 and IPv6 using exactly the same opener method. Simplify the logic by omitting the address family from the definition. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/open.h')
-rw-r--r--src/include/ipxe/open.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/ipxe/open.h b/src/include/ipxe/open.h
index 43d4cdc66..64e12d177 100644
--- a/src/include/ipxe/open.h
+++ b/src/include/ipxe/open.h
@@ -70,8 +70,6 @@ struct uri_opener {
struct socket_opener {
/** Communication semantics (e.g. SOCK_STREAM) */
int semantics;
- /** Address family (e.g. AF_INET) */
- int family;
/** Open socket
*
* @v intf Object interface