Skip to content

Commit

Permalink
drivers: staging: vt6656: Remove not used returned data of function
Browse files Browse the repository at this point in the history
This function always return TRUE, and it is not used by the funtions
who calls it.

Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Marcos Paulo de Souza authored and Greg Kroah-Hartman committed Dec 22, 2011
1 parent 50d82ad commit ba768b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions drivers/staging/vt6656/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,9 @@ void MACvWriteMultiAddr(PSDevice pDevice, unsigned int uByteIdx, BYTE byData)
* Out:
* none
*
* Return Value: TRUE if success; otherwise FALSE
*
*/
BOOL MACbShutdown (PSDevice pDevice)
void MACbShutdown(PSDevice pDevice)
{
CONTROLnsRequestOutAsyn(pDevice,
MESSAGE_TYPE_MACSHUTDOWN,
Expand All @@ -145,7 +144,6 @@ BOOL MACbShutdown (PSDevice pDevice)
0,
NULL
);
return TRUE;
}

void MACvSetBBType(PSDevice pDevice,BYTE byType)
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/vt6656/mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@

void MACvSetMultiAddrByHash(PSDevice pDevice, BYTE byHashIdx);
void MACvWriteMultiAddr(PSDevice pDevice, unsigned int uByteIdx, BYTE byData);
BOOL MACbShutdown(PSDevice pDevice);
void MACbShutdown(PSDevice pDevice);
void MACvSetBBType(PSDevice pDevice, BYTE byType);
void MACvSetMISCFifo(PSDevice pDevice, WORD wOffset, DWORD dwData);
void MACvDisableKeyEntry(PSDevice pDevice, unsigned int uEntryIdx);
Expand Down

0 comments on commit ba768b9

Please sign in to comment.