
9 Oct
2010
9 Oct
'10
10:25 a.m.
Hi,
2010/9/22 vkuzmichev@mvista.com:
From: Vitaly Kuzmichev vkuzmichev@mvista.com
Remove and fix needless and destructive operations with tx/rx_req.
- 'req' in rx_complete is always not NULL and always equals to rx_req
- Free allocated tx_req if rx_req allocation has failed
- Do not zero out tx/rx_req in usb_eth_init, leave this for
eth_reset_config which will be called at the next use of usb0 4) Additional check in usb_eth_recv is not required
Signed-off-by: Vitaly Kuzmichev vkuzmichev@mvista.com
Applied to u-boot-usb. Thanks.
Remy