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

Commit 075e1913 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

econet: Reduce switch/case indent



Make the case labels the same indent as the switch.

Simplify a default case / return (unreached)
Remove unnecessary break after return.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 06f8fe11
Loading
Loading
Loading
Loading
+10 −13
Original line number Original line Diff line number Diff line
@@ -730,13 +730,10 @@ static int econet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg
	case SIOCSIFADDR:
	case SIOCSIFADDR:
	case SIOCGIFADDR:
	case SIOCGIFADDR:
		return ec_dev_ioctl(sock, cmd, argp);
		return ec_dev_ioctl(sock, cmd, argp);
			break;


		default:
			return -ENOIOCTLCMD;
	}
	}
	/*NOTREACHED*/

	return 0;
	return -ENOIOCTLCMD;
}
}


static const struct net_proto_family econet_family_ops = {
static const struct net_proto_family econet_family_ops = {