This commit removes #if 1 directive from code to
improve readability. It is always true, so it makes
no sense to have it there.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dwrq->length = priv->reg.wep_key[index].size;
if (dwrq->length > 16)
dwrq->length = 0;
-#if 1 /* IW_ENCODE_NOKEY; */
if (dwrq->length) {
if ((index >= 0) && (index < 4))
memcpy(extra, priv->reg.wep_key[index].val,
} else {
memcpy(extra, zeros, dwrq->length);
}
-#endif
+
return 0;
}