From: Laurent Pinchart Date: Thu, 26 Jan 2012 11:27:23 +0000 (+0100) Subject: dma-buf: Remove unneeded sanity checks X-Git-Tag: v3.4-rc1~57^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1aa06a1eaf5f751c9913703031d611599d8d3d7;p=pandora-kernel.git dma-buf: Remove unneeded sanity checks ops, ops->map_dma_buf and ops->unmap_dma_buf are guaranteed to be non-NULL by a check in dma_buf_export(). Remove NULL checks on those variables in the other API functions. Signed-off-by: Laurent Pinchart Reviewed-by: Daniel Vetter Signed-off-by: Sumit Semwal --- Reading git-diff-tree failed