staging: vt6656: removed NDIS_STATUS int redefinition
Removed int redefinition for function results. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
203e4615ee
Коммит
27264fb8c7
|
@ -258,8 +258,6 @@ typedef enum _VIA_PKT_TYPE
|
||||||
|
|
||||||
//++ NDIS related
|
//++ NDIS related
|
||||||
|
|
||||||
#define NDIS_STATUS int
|
|
||||||
|
|
||||||
typedef enum __DEVICE_NDIS_STATUS {
|
typedef enum __DEVICE_NDIS_STATUS {
|
||||||
STATUS_SUCCESS = 0,
|
STATUS_SUCCESS = 0,
|
||||||
STATUS_FAILURE,
|
STATUS_FAILURE,
|
||||||
|
@ -267,7 +265,6 @@ typedef enum __DEVICE_NDIS_STATUS {
|
||||||
STATUS_PENDING,
|
STATUS_PENDING,
|
||||||
} DEVICE_NDIS_STATUS, *PDEVICE_NDIS_STATUS;
|
} DEVICE_NDIS_STATUS, *PDEVICE_NDIS_STATUS;
|
||||||
|
|
||||||
|
|
||||||
#define MAX_BSSIDINFO_4_PMKID 16
|
#define MAX_BSSIDINFO_4_PMKID 16
|
||||||
#define MAX_PMKIDLIST 5
|
#define MAX_PMKIDLIST 5
|
||||||
//Flags for PMKID Candidate list structure
|
//Flags for PMKID Candidate list structure
|
||||||
|
|
|
@ -773,7 +773,7 @@ FIRMWAREbDownload(
|
||||||
PSDevice pDevice
|
PSDevice pDevice
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
NDIS_STATUS NdisStatus;
|
int NdisStatus;
|
||||||
PBYTE pBuffer = NULL;
|
PBYTE pBuffer = NULL;
|
||||||
WORD wLength;
|
WORD wLength;
|
||||||
int ii;
|
int ii;
|
||||||
|
@ -823,7 +823,7 @@ FIRMWAREbBrach2Sram(
|
||||||
PSDevice pDevice
|
PSDevice pDevice
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
NDIS_STATUS NdisStatus;
|
int NdisStatus;
|
||||||
|
|
||||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Branch to Sram\n");
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Branch to Sram\n");
|
||||||
|
|
||||||
|
|
|
@ -618,7 +618,7 @@ s_nsBulkInUsbIoCompleteRead(
|
||||||
* Return Value: STATUS_INSUFFICIENT_RESOURCES or result of IoCallDriver
|
* Return Value: STATUS_INSUFFICIENT_RESOURCES or result of IoCallDriver
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
NDIS_STATUS
|
int
|
||||||
PIPEnsSendBulkOut(
|
PIPEnsSendBulkOut(
|
||||||
PSDevice pDevice,
|
PSDevice pDevice,
|
||||||
PUSB_SEND_CONTEXT pContext
|
PUSB_SEND_CONTEXT pContext
|
||||||
|
|
Загрузка…
Ссылка в новой задаче