net, rds, Replace xlist in net/rds/xlist.h with llist
Subsystems (3)
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?
Signed-off-by Huang Ying <[email protected]>
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
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?
Signed-off-by Huang Ying <[email protected]>
Applied.