diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-18 08:23:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-18 22:50:52 -0800 |
commit | ba574696a34eb518979e742b35ccd30dec284583 (patch) | |
tree | 916dc12340b8599ea1d516977bab99158d57a6fe /drivers/net/bfin_mac.h | |
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>
Diffstat (limited to 'drivers/net/bfin_mac.h')
0 files changed, 0 insertions, 0 deletions