Skip to content

Commit

Permalink
staging: vt6656: hostap.c: Remove commented code
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Marcos Paulo de Souza authored and Greg Kroah-Hartman committed Jul 9, 2012
1 parent 7f289da commit a6fadf5
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions drivers/staging/vt6656/hostap.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,37 +294,6 @@ static int hostap_get_info_sta(PSDevice pDevice,
return 0;
}

/*
* Description:
* reset txexec
*
* Parameters:
* In:
* pDevice -
* param -
* Out:
* TURE, FALSE
*
* Return Value:
*
*/
/*
static int hostap_reset_txexc_sta(PSDevice pDevice,
struct viawget_hostapd_param *param)
{
PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
unsigned int uNodeIndex;
if (BSSbIsSTAInNodeDB(pDevice, param->sta_addr, &uNodeIndex)) {
pMgmt->sNodeDBTable[uNodeIndex].uTxAttempts = 0;
}
else {
return -ENOENT;
}
return 0;
}
*/

/*
* Description:
Expand Down Expand Up @@ -459,12 +428,6 @@ static int hostap_set_encryption(PSDevice pDevice,


param->u.crypt.err = 0;
/*
if (param_len !=
(int) ((char *) param->u.crypt.key - (char *) param) +
param->u.crypt.key_len)
return -EINVAL;
*/

if (param->u.crypt.alg > WPA_ALG_CCMP)
return -EINVAL;
Expand Down Expand Up @@ -794,12 +757,6 @@ int vt6656_hostap_ioctl(PSDevice pDevice, struct iw_point *p)
ret = hostap_get_info_sta(pDevice, param);
ap_ioctl = 1;
break;
/*
case VIAWGET_HOSTAPD_RESET_TXEXC_STA:
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "VIAWGET_HOSTAPD_RESET_TXEXC_STA \n");
ret = hostap_reset_txexc_sta(pDevice, param);
break;
*/
case VIAWGET_HOSTAPD_SET_FLAGS_STA:
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "VIAWGET_HOSTAPD_SET_FLAGS_STA \n");
ret = hostap_set_flags_sta(pDevice, param);
Expand Down

0 comments on commit a6fadf5

Please sign in to comment.