Commit 06e34dfb authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging/ft1000: remove usage of ret in ft1000_open

remove the ret and do a simple  "return ft1000_submit_rx_urb"
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42ad4a8d
......@@ -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);
}
//---------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment