Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 482e191d authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

staging: dgnc: remove initialization of global



globals variable will be initialied to 0 and the global pointers will be
to NULL. No need to initialize them separately.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e24bb0ed
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -708,13 +708,6 @@ static void dgnc_poll_handler(ulong dummy)
 */
static void dgnc_init_globals(void)
{
	int i = 0;

	dgnc_NumBoards		= 0;

	for (i = 0; i < MAXBOARDS; i++)
		dgnc_Board[i] = NULL;

	init_timer(&dgnc_poll_timer);
}