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:
Devendra Naga 2012-06-19 21:53:32 +05:30 committed by Greg Kroah-Hartman
parent 42ad4a8da5
commit 06e34dfb85

View File

@ -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);
}
//---------------------------------------------------------------------------