Commit acfb2f32 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: ks7010: remove non sense comments in ks_hostif.c source file

Comments which say the same as the code are not useful at all
so just remove them.
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2fa68297
......@@ -467,10 +467,10 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
u16 mib_val_size;
u16 mib_val_type;
mib_status = get_dword(priv); /* MIB status */
mib_attribute = get_dword(priv); /* MIB atttibute */
mib_val_size = get_word(priv); /* MIB value size */
mib_val_type = get_word(priv); /* MIB value type */
mib_status = get_dword(priv);
mib_attribute = get_dword(priv);
mib_val_size = get_word(priv);
mib_val_type = get_word(priv);
if (mib_status) {
netdev_err(priv->net_dev, "attribute=%08X, status=%08X\n",
......@@ -527,11 +527,11 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
static
void hostif_mib_set_confirm(struct ks_wlan_private *priv)
{
u32 mib_status; /* +04 MIB Status */
u32 mib_attribute; /* +08 MIB attribute */
u32 mib_status;
u32 mib_attribute;
mib_status = get_dword(priv); /* MIB Status */
mib_attribute = get_dword(priv); /* MIB attribute */
mib_status = get_dword(priv);
mib_attribute = get_dword(priv);
if (mib_status) {
/* in case of error */
......
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