]> git.baikalelectronics.ru Git - kernel.git/commit
sunvnet: straighten up message event handling logic
authorShannon Nelson <shannon.nelson@oracle.com>
Mon, 13 Feb 2017 18:57:01 +0000 (10:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 18:04:10 +0000 (13:04 -0500)
commitb3296c49e4570cec62a922229ceb37b6331e3f06
treed1faafafbb2e32784c44b6300f057b92fdf22c29
parentb7dde1f121a4db8f794ff7b0cb0854e752711e9e
sunvnet: straighten up message event handling logic

The use of gotos for handling the incoming events made this code
harder to read and support than it should be.  This patch straightens
out and clears up the logic.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet_common.c