From: Ralph Campbell Date: Tue, 23 Oct 2007 22:04:15 +0000 (-0700) Subject: IB/mad: Remove redundant NULL pointer check in ib_mad_recv_done_handler() X-Git-Tag: v2.6.25-rc1~1234^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3828ff457a694f97f88f6978bea428199df0a690;p=pandora-kernel.git IB/mad: Remove redundant NULL pointer check in ib_mad_recv_done_handler() In ib_mad_recv_done_handler(), the response pointer is checked for NULL after allocating it. It is then checked again in the local process_mad() path but there is no possibility of it changing in between. Signed-off-by: Ralph Campbell Acked-by: Hal Rosenstock Signed-off-by: Roland Dreier --- Reading git-diff-tree failed