mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
staging/ft1000: remove usage of ret in ft1000_open
remove the ret and do a simple "return ft1000_submit_rx_urb" Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
42ad4a8da5
commit
06e34dfb85
@ -1178,7 +1178,6 @@ static int ft1000_open(struct net_device *dev)
|
||||
{
|
||||
struct ft1000_info *pInfo = netdev_priv(dev);
|
||||
struct timeval tv;
|
||||
int ret;
|
||||
|
||||
DEBUG("ft1000_open is called for card %d\n", pInfo->CardNumber);
|
||||
|
||||
@ -1194,9 +1193,7 @@ static int ft1000_open(struct net_device *dev)
|
||||
|
||||
netif_carrier_on(dev);
|
||||
|
||||
ret = ft1000_submit_rx_urb(pInfo);
|
||||
|
||||
return ret;
|
||||
return ft1000_submit_rx_urb(pInfo);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user