commit | ba574696a34eb518979e742b35ccd30dec284583 | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <avorontsov@ru.mvista.com> | Thu Dec 18 08:23:31 2008 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 18 22:50:52 2008 -0800 |
tree | 916dc12340b8599ea1d516977bab99158d57a6fe | |
parent | 67c2fb8ff0eda3cee95954a1dd245c3ce1a10486 [diff] |
ucc_geth: Cleanup repetitive ucc_geth_memclean() calls No need to call ucc_geth_memclean() so many times, just check for errors in ucc_geth_open(), and call ucc_geth_stop() in case of errors. The ucc_geth_stop() may be called anytime and will do the right thing. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>