From: Ralph Campbell Date: Fri, 3 Feb 2006 22:30:24 +0000 (-0800) Subject: IB/mad: Remove redundant check from smi_check_local_dr_smp() X-Git-Tag: v2.6.17-rc1~1180^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f0b67e0d5c2807337b8fee4aa71b05f4f641534;p=pandora-kernel.git IB/mad: Remove redundant check from smi_check_local_dr_smp() smi_check_local_dr_smp() is called only from two places in core/mad.c It returns 0 or 1. In smi_check_local_dr_smp(), it checks for a directed route SMP but this function is only called when the SMP is a directed route so this is a NOP. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier --- Reading git-diff-tree failed