From 817bf56ae7f005fdbba2ca90788806ef3fefea9b Mon Sep 17 00:00:00 2001 From: Fabrizio Perria Date: Fri, 28 Apr 2017 08:05:30 -0400 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/android/ion/ion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/android') diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index d6fd3507e0e0..992ee2dd8801 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) { -- cgit v1.2.3