Skip to content

Commit 817bf56

Browse files
FabrizioPerriagregkh
authored andcommitted
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>
1 parent 6eeabd8 commit 817bf56

File tree

1 file changed

+1
-1
lines changed
  • drivers/staging/android/ion

1 file changed

+1
-1
lines changed

drivers/staging/android/ion/ion.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include "ion.h"
4242

4343
static struct ion_device *internal_dev;
44-
static int heap_id = 0;
44+
static int heap_id;
4545

4646
bool ion_buffer_cached(struct ion_buffer *buffer)
4747
{

0 commit comments

Comments
 (0)