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

Commit aa66d88d authored by Dilek Uzulmez's avatar Dilek Uzulmez Committed by Greg Kroah-Hartman
Browse files

staging: octeon: Removed unnecessary else expression.



This patch fixes "else is not generally useful after a break or return"
checkpatch.pl warning ethernet-util.h

Signed-off-by: default avatarDilek Uzulmez <dilekuzulmez@gmail.com>
Acked-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 99f8dbc5
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ static inline int INTERFACE(int ipd_port)
		return 3;
	else if (ipd_port == 40)	/* Non existent interface for POW0 */
		return 4;
	else
	panic("Illegal ipd_port %d passed to INTERFACE\n", ipd_port);
}

@@ -67,6 +66,5 @@ static inline int INDEX(int ipd_port)
{
	if (ipd_port < 32)
		return ipd_port & 15;
	else
	return ipd_port & 3;
}