commit | ecc3993a2ad2a4ce8f1a58a08e9177f21015492d | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Tue Apr 14 18:08:14 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed Apr 15 16:07:12 2015 -0400 |
tree | ec9a8be87940c5ab655e2d03e2bfe649d6fb9cdb | |
parent | a065fe6aa25ba6ba93c02dc13486131bb3c64d5f [diff] |
IB/iser: Remove redundant cmd_data_len calculation This code was added before we had protection data length calculation (in iser_send_command), so we needed to calc the sg data length from the sg itself. This is not needed anymore. This patch does not change any functionality. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Adir Lev <adirl@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>