[PATCH] staging: android: ion: Fix unnecessary initialization of static variable

From: Fabrizio Perria
Date: Fri Apr 28 2017 - 08:06:06 EST


Fix checkpatch warning: removed unnecessary initialization of
static variable "heap_id" to 0 in source file "ioc.c".

Signed-off-by: Fabrizio Perria <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