From: Andy Grover Date: Thu, 14 Jan 2010 20:18:11 +0000 (-0800) Subject: RDS: rewrite rds_ib_xmit X-Git-Tag: v2.6.37-rc1~147^2~499^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5a06cef5724737af4315715632f0a07dd5e116;p=pandora-kernel.git RDS: rewrite rds_ib_xmit Now that the header always goes first, it is possible to simplify rds_ib_xmit. Instead of having a path to handle 0-byte dgrams and another path to handle >0, these can both be handled in one path. This lets us eliminate xmit_populate_wr(). Rename sent to bytes_sent, to differentiate better from other variable named "send". Signed-off-by: Andy Grover --- Reading git-diff-tree failed