Skip to content

Commit b9e28d3

Browse files
Xin Gaohdeller
authored andcommitted
parisc: Do not initialise statics to 0
Signed-off-by: Xin Gao <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent cf59f34 commit b9e28d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/parisc/kernel/pci-dma.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
#include <asm/tlbflush.h> /* for purge_tlb_*() macros */
3737

3838
static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
39-
static unsigned long pcxl_used_bytes __read_mostly = 0;
40-
static unsigned long pcxl_used_pages __read_mostly = 0;
39+
static unsigned long pcxl_used_bytes __read_mostly;
40+
static unsigned long pcxl_used_pages __read_mostly;
4141

4242
extern unsigned long pcxl_dma_start; /* Start of pcxl dma mapping area */
4343
static DEFINE_SPINLOCK(pcxl_res_lock);

0 commit comments

Comments
 (0)