RDS/IB: Remove ib_[header/data]_sge() functions
authorAndy Grover <andy.grover@oracle.com>
Thu, 14 Jan 2010 00:32:24 +0000 (16:32 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:11:50 +0000 (18:11 -0700)
commit919ced4ce7d6ac62dd5be62d8993fe22a527d53a
treef201cb777e39cee0fa030ebf0e71558b3227b9c9
parent6f3d05db0da0b874afd2dd229bed715133532f8d
RDS/IB: Remove ib_[header/data]_sge() functions

These functions were to cope with differently ordered
sg entries depending on RDS 3.0 or 3.1+. Now that
we've dropped 3.0 compatibility we no longer need them.

Also, modify usage sites for these to refer to sge[0] or [1]
directly. Reorder code to initialize header sgs first.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib.h
net/rds/ib_recv.c
net/rds/ib_send.c