]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dma-buf: Remove unneeded sanity checks
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 26 Jan 2012 11:27:23 +0000 (12:27 +0100)
committerSumit Semwal <sumit.semwal@ti.com>
Thu, 26 Jan 2012 17:10:17 +0000 (22:40 +0530)
commit53448da53090cc686ac2938ee88297c0dd37ee1b
tree0a8256fb3e8f4424ed9031130cf9b3155b1f890a
parent3eb6701ea04a3525f2f218ecc924cd14fa78b643
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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
drivers/base/dma-buf.c