[PATCH] ion: Fixed initialization of static variable to 0
From: Fabrizio Perria
Date: Thu Apr 27 2017 - 19:30:21 EST
From: Fabrizio <fabrizio.perria@xxxxxxxxx>
Signed-off-by: Fabrizio <fabrizio.perria@xxxxxxxxx>
---
drivers/staging/android/ion/ion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index fb836c6..03d3a4f 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -41,7 +41,7 @@
#include "ion.h"
static struct ion_device *internal_dev;
-static int heap_id = 0;
+static int heap_id;
bool ion_buffer_cached(struct ion_buffer *buffer)
{
--
1.9.1