From: Roland Dreier Date: Wed, 10 Oct 2007 02:59:05 +0000 (-0700) Subject: IB/mlx4: Use __set_data_seg() in mlx4_ib_post_recv() X-Git-Tag: v2.6.24-rc1~1453^2~81 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2242fa4f04d670f02efb43ec537d677edc220880;p=pandora-kernel.git IB/mlx4: Use __set_data_seg() in mlx4_ib_post_recv() Use a __set_data_seg() helper in mlx4_ib_post_recv() too; in addition to making the code easier to read, this also allows gcc to generate better code -- on x86_64: add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-8 (-8) function old new delta mlx4_ib_post_recv 359 351 -8 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed