]> git.baikalelectronics.ru Git - kernel.git/commitdiff
parisc: Do not initialise statics to 0
authorXin Gao <gaoxin@cdjrlc.com>
Wed, 20 Jul 2022 19:39:41 +0000 (03:39 +0800)
committerHelge Deller <deller@gmx.de>
Mon, 1 Aug 2022 16:43:23 +0000 (18:43 +0200)
Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/pci-dma.c

index 160996f2198efd8123abcd44239bec50e91b885a..ba87f791323be008d1e6abfcfbe846a55575cbf5 100644 (file)
@@ -36,8 +36,8 @@
 #include <asm/tlbflush.h>      /* for purge_tlb_*() macros */
 
 static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
-static unsigned long pcxl_used_bytes __read_mostly = 0;
-static unsigned long pcxl_used_pages __read_mostly = 0;
+static unsigned long pcxl_used_bytes __read_mostly;
+static unsigned long pcxl_used_pages __read_mostly;
 
 extern unsigned long pcxl_dma_start; /* Start of pcxl dma mapping area */
 static DEFINE_SPINLOCK(pcxl_res_lock);