Skip to contentSkip to conversation

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

PATCH RESEND Applied Huang Ying 2 participants 2 messages Aug 31, 2011 – Sep 15, 2011

Subsystems (3)
lore
Share & tools
lore

Huang Ying

author
#0 lore raw

PATCH RESEND 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?

Cc Chris Mason <[email protected]>
Cc Andy Grover <[email protected]>
Cc "David S. Miller" <[email protected]>
---
 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

maintainer Applied
#1 lore raw

From: Huang Ying <[email protected]>
Date: Wed, 31 Aug 2011 09:21:30 +0800

Quoted 6 lines

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?

Applied.