Commit b5492d65 authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman

staging: ks7010: remove dead code

Checkpatch emits CHECK: Alignment should match open parenthesis. This
is due to commented out code.

Remove commented out (dead) code.
Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a359491a
...@@ -1620,7 +1620,6 @@ static int ks_wlan_get_scan(struct net_device *dev, ...@@ -1620,7 +1620,6 @@ static int ks_wlan_get_scan(struct net_device *dev,
return -E2BIG; return -E2BIG;
} }
current_ev = ks_wlan_translate_scan(dev, current_ev, current_ev = ks_wlan_translate_scan(dev, current_ev,
// extra + IW_SCAN_MAX_DATA,
extra + dwrq->length, extra + dwrq->length,
&priv->current_ap); &priv->current_ap);
} }
...@@ -1633,7 +1632,6 @@ static int ks_wlan_get_scan(struct net_device *dev, ...@@ -1633,7 +1632,6 @@ static int ks_wlan_get_scan(struct net_device *dev,
} }
/* Translate to WE format this entry */ /* Translate to WE format this entry */
current_ev = ks_wlan_translate_scan(dev, info, current_ev, current_ev = ks_wlan_translate_scan(dev, info, current_ev,
// extra + IW_SCAN_MAX_DATA,
extra + dwrq->length, extra + dwrq->length,
&priv->aplist.ap[i]); &priv->aplist.ap[i]);
} }
......
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