Skip to contentSkip to conversation

drivers: staging: vt6656: Remove not used returned data of function

PATCH In review Marcos Paulo de Souza 1 participant 1 message Dec 18, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 drivers: staging: vt6656: Remove not used returned data of function

This function always return TRUE, and it is not used by the funtions who calls it.

---
 drivers/staging/vt6656/mac.c |    4 +---
 drivers/staging/vt6656/mac.h |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)
drivers/staging/vt6656/mac.c +1 -3
index 26c19d1..3fc9911 100644
@@ -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,
@@ -145,7 +144,6 @@ BOOL MACbShutdown (PSDevice pDevice)
                         0,
                         NULL
                         );
-    return TRUE;
 }
 
 void MACvSetBBType(PSDevice pDevice,BYTE byType)
drivers/staging/vt6656/mac.h +1 -1
index 491ff5e..147ac50 100644
@@ -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);
Signature · 1 line
1.7.4.4