OSDN Git Service

eepro100: Restructure code
authorStefan Weil <weil@mail.berlios.de>
Mon, 19 Oct 2009 19:03:26 +0000 (21:03 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:28:34 +0000 (12:28 -0500)
commit5fa9a0ae49a01536a403f38e39222c3e8cc964c5
tree5b29c29be2bb881a898ee75f001def6a871fdcf3
parentf669df275ca837fda5f73fdfb01985e3207aa6d7
eepro100: Restructure code

This patch only moves about 150 lines of code from
function eepro100_cu_command to a new function action_command.

A goto statement was replaced by a for loop.

There are no functional changes. Nor did I change comments
starting with // (they will be removed by future patches).

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/eepro100.c