Skip to contentSkip to conversation

net, rds, Replace xlist in net/rds/xlist.h with llist

PATCH Superseded Huang Ying 1 participant 1 message Aug 9, 2011

Subsystems (2)
lore
Share & tools
lore

Huang Ying

author
#0 lore raw

PATCH 1/1 net, rds, Replace xlist in net/rds/xlist.h with llist

The functionality of xlist and llist is almost same. This patch replace xlist with llist to avoid code duplication.

Known issues: don't know how to test this, need special hardware?

---
 net/rds/Kconfig   |    1 
 net/rds/ib_rdma.c |  112 ++++++++++++++++++++++++------------------------------
 net/rds/xlist.h   |   80 --------------------------------------
 3 files changed, 52 insertions(+), 141 deletions(-)
 delete mode 100644 net/rds/xlist.h
net/rds/Kconfig +1 -0
@@ -9,6 +9,7 @@ config RDS
 
 config RDS_RDMA
 	tristate "RDS over Infiniband and iWARP"
+	select LLIST
 	depends on RDS && INFINIBAND && INFINIBAND_ADDR_TRANS
 	---help---
 	  Allow RDS to use Infiniband and iWARP as a transport.
net/rds/ib_rdma.c +51 -61

214 lines not on this page · raw message

net/rds/xlist.h deleted +0 -80

80 lines not on this page · raw message