From: Cong Ding Date: Fri, 18 Jan 2013 20:42:18 +0000 (+0100) Subject: iommu/omap: Remove unnecessary null pointer check X-Git-Tag: v3.9-rc1~73^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0af125ca06afbf279c45dc5a57ec35247b35e0e2;p=pandora-kernel.git iommu/omap: Remove unnecessary null pointer check The pointer obj is dereferenced in line 146 and 149 respectively, so it is not necessary to check null again in line 149 and 175. And I have checked that all the callers of these two functions guarantee the parameter obj passed is not null. Signed-off-by: Cong Ding Acked-by: Ohad Ben-Cohen Acked-by: Tony Lindgren Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed