Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: wavelan: fix initialise statics to 0 in wavelan_cs.p.h

This is a patch to the wavelan_cs.p.h fix initialise statics to 0
Errors found by the checkpatch.pl tools, like
ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Ruslan Pisarev and committed by
Greg Kroah-Hartman
8eb3e22e fb549675

+2 -2
+2 -2
drivers/staging/wavelan/wavelan_cs.p.h
··· 745 745 */ 746 746 747 747 /* Shared memory speed, in ns */ 748 - static int mem_speed = 0; 748 + static int mem_speed; 749 749 750 750 /* New module interface */ 751 751 module_param(mem_speed, int, 0); 752 752 753 753 #ifdef WAVELAN_ROAMING /* Conditional compile, see above in options */ 754 754 /* Enable roaming mode ? No ! Please keep this to 0 */ 755 - static int do_roaming = 0; 755 + static int do_roaming; 756 756 module_param(do_roaming, bool, 0); 757 757 #endif /* WAVELAN_ROAMING */ 758 758