summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2016-03-01 16:26:32 +0100
committerMichael Brown2016-03-07 22:04:40 +0100
commit60e205a551f07882ed18a33fa192ad7cefe548a0 (patch)
tree89dce4b91d85dc435aca2047262e10c18a3e3ef2 /src/include
parent[netdevice] Refuse to create duplicate network device names (diff)
downloadipxe-60e205a551f07882ed18a33fa192ad7cefe548a0.tar.gz
ipxe-60e205a551f07882ed18a33fa192ad7cefe548a0.tar.xz
ipxe-60e205a551f07882ed18a33fa192ad7cefe548a0.zip
[infiniband] Remove concept of whole-device owner data
Remove the implicit assumption that the IPoIB protocol owns the whole Infiniband device. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/infiniband.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/include/ipxe/infiniband.h b/src/include/ipxe/infiniband.h
index 87cfe5082..6a99865f2 100644
--- a/src/include/ipxe/infiniband.h
+++ b/src/include/ipxe/infiniband.h
@@ -450,8 +450,6 @@ struct ib_device {
/** Driver private data */
void *drv_priv;
- /** Owner private data */
- void *owner_priv;
};
/** An Infiniband upper-layer driver */
@@ -695,26 +693,4 @@ ib_get_drvdata ( struct ib_device *ibdev ) {
return ibdev->drv_priv;
}
-/**
- * Set Infiniband device owner-private data
- *
- * @v ibdev Infiniband device
- * @v priv Private data
- */
-static inline __always_inline void
-ib_set_ownerdata ( struct ib_device *ibdev, void *priv ) {
- ibdev->owner_priv = priv;
-}
-
-/**
- * Get Infiniband device owner-private data
- *
- * @v ibdev Infiniband device
- * @ret priv Private data
- */
-static inline __always_inline void *
-ib_get_ownerdata ( struct ib_device *ibdev ) {
- return ibdev->owner_priv;
-}
-
#endif /* _IPXE_INFINIBAND_H */