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

Commit 614c12a1 authored by Rudy Matela's avatar Rudy Matela Committed by David S. Miller
Browse files

net: Coding style corrections on Sealevel Systems 4021 driver.



Changed braces position on some statements.
Inserted a space between an "if" keyword and a parenthesis.

Signed-off-by: default avatarRudy Matela <rudy.matela@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b23136b
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -84,8 +84,7 @@ static int sealevel_open(struct net_device *d)
	 *	Link layer up.
	 */

	switch (unit)
	{
	switch (unit) {
		case 0:
			err = z8530_sync_dma_open(d, slvl->chan);
			break;
@@ -133,8 +132,7 @@ static int sealevel_close(struct net_device *d)
	hdlc_close(d);
	netif_stop_queue(d);

	switch (unit)
	{
	switch (unit) {
		case 0:
			z8530_sync_dma_close(d, slvl->chan);
			break;
@@ -342,8 +340,7 @@ static void __exit slvl_shutdown(struct slvl_board *b)

	z8530_shutdown(&b->board);

	for (u = 0; u < 2; u++)
	{
	for (u = 0; u < 2; u++) {
		struct net_device *d = b->dev[u].chan->netdevice;
		unregister_hdlc_device(d);
		free_netdev(d);