Revert "ion: Fix typo when checking dmabuf"
This reverts commit 764a80ff6e5a2273c48f650672599f304e2c5294.
Change-Id: I60bfb960880d03ee8d031afed77a117258dfedc0
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 40eaf59..febac76 100755
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -1403,7 +1403,7 @@
return ERR_CAST(dmabuf);
/* if this memory came from ion */
- if (!dmabuf->ops != &dma_buf_ops) {
+ if (dmabuf->ops != &dma_buf_ops) {
pr_err("%s: can not import dmabuf from another exporter\n",
__func__);
dma_buf_put(dmabuf);