[Linaro-mm-sig] [PATCH 2/4] dma-buf: Remove unneeded sanity checks

Daniel Vetter daniel at ffwll.ch
Thu Jan 26 11:35:16 UTC 2012


On Thu, Jan 26, 2012 at 12:27:23PM +0100, Laurent Pinchart wrote:
> 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 <laurent.pinchart at ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Linaro-mm-sig mailing list