diff options
author | Fabrizio Perria <fabrizio.perria@gmail.com> | 2017-04-28 08:05:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-28 14:29:33 +0200 |
commit | 817bf56ae7f005fdbba2ca90788806ef3fefea9b (patch) | |
tree | 4455a601d7019c54df2ed5f0886505a35d0a11a3 /drivers/staging/android/ion/ion.c | |
parent | 6eeabd8b2b8a2a495cbdec754b9ddc9c4f811fa8 (diff) |
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>
Diffstat (limited to 'drivers/staging/android/ion/ion.c')
-rw-r--r-- | drivers/staging/android/ion/ion.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |