Browse Source

staging: android: ion: Fix unnecessary initialization of static variable

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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fabrizio Perria 8 years ago
parent
commit
817bf56ae7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/android/ion/ion.c

+ 1 - 1
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)
 {