Commit a96c47e1 authored by Chandra S Gorentla's avatar Chandra S Gorentla Committed by Greg Kroah-Hartman
Browse files

drivers: staging: wilc1000: use 'void' for no arguments functions



Added 'void' keyword in the paranthesis of function definitions, when
there are no arguments to the functions.  This fixes the checkpatch.pl
error - "Bad function definition 'function()' should probably be
function(void)".

Signed-off-by: default avatarChandra S Gorentla <csgorentla@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1913221c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -558,7 +558,7 @@ struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi
 *  @date	12 JUL 2012
 *  @version	1.0
 */
int WILC_WFI_deinit_mon_interface()
int WILC_WFI_deinit_mon_interface(void)
{
	bool rollback_lock = false;

+2 −2
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ void printk_later(const char *format, ...)

}

void dump_logs()
void dump_logs(void)
{
	if (DebugBuffer[0]) {
		DebugBuffer[DEGUG_BUFFER_LENGTH] = 0;
@@ -216,7 +216,7 @@ void dump_logs()
	}
}

void Reset_WatchDogdebugger()
void Reset_WatchDogdebugger(void)
{
	WatchDogdebuggerCounter = 0;
}