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

Commit c148b9d5 authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds
Browse files

Char: rocket, don't re-set statics to 0

parent ac6aec2f
Loading
Loading
Loading
Loading
+0 −12
Original line number Original line Diff line number Diff line
@@ -2375,18 +2375,6 @@ static int __init rp_init(void)
	if (!rocket_driver)
	if (!rocket_driver)
		return -ENOMEM;
		return -ENOMEM;


	/*
	 * Initialize the array of pointers to our own internal state
	 * structures.
	 */
	memset(rp_table, 0, sizeof (rp_table));
	memset(xmit_flags, 0, sizeof (xmit_flags));

	for (i = 0; i < MAX_RP_PORTS; i++)
		lineNumbers[i] = 0;
	nextLineNumber = 0;
	memset(rocketModel, 0, sizeof (rocketModel));

	/*
	/*
	 *  If board 1 is non-zero, there is at least one ISA configured.  If controller is 
	 *  If board 1 is non-zero, there is at least one ISA configured.  If controller is 
	 *  zero, use the default controller IO address of board1 + 0x40.
	 *  zero, use the default controller IO address of board1 + 0x40.