From: Stefan Roscher Date: Fri, 5 Dec 2008 19:25:38 +0000 (-0800) Subject: IB/ehca: Replace modulus operations in flush error completion path X-Git-Tag: v2.6.29-rc1~583^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c721940ddd6496508f1f2fde5167b1c898b419b;p=pandora-kernel.git IB/ehca: Replace modulus operations in flush error completion path With the latest flush error completion patch we introduced modulus operation to calculate the next index within a qmap. Based on comments from other mailing lists we decided to optimize this operation by using an addition and an if-statement instead of modulus, even though this is on the error path. Signed-off-by: Stefan Roscher Signed-off-by: Roland Dreier --- Reading git-diff-tree failed