From: Sagi Grimberg Date: Tue, 14 Apr 2015 15:08:15 +0000 (+0300) Subject: IB/iser: Remove a redundant struct iser_data_buf X-Git-Tag: omap-for-v4.2/o2_dc~38^2^3~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3784bd1d9f1039f28dff2c0c0d17daabb3d6761;p=pandora-kernel.git IB/iser: Remove a redundant struct iser_data_buf No need to keep two iser_data_buf structures just in case we use mem copy. We can avoid that just by adding a pointer to the original sg. So keep only two iser_data_buf per command (data and protection) and pass the relevant data_buf to bounce buffer routine. This patch does not change any functionality. Signed-off-by: Sagi Grimberg Signed-off-by: Adir Lev Signed-off-by: Doug Ledford --- Reading git-diff-tree failed