[PATCH] drivers/net/sk98lin/: possible cleanups
This patch contains the following possible cleanups: - make needlessly global functions static - remove unused code Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Stephen Hemminger <shemminger@osdl.org> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:

committed by
Jeff Garzik

orang tua
2664b25051
melakukan
e03d72b99e
@@ -464,12 +464,6 @@ typedef struct s_GeInit {
|
||||
/*
|
||||
* public functions in skgeinit.c
|
||||
*/
|
||||
extern void SkGePollRxD(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port,
|
||||
SK_BOOL PollRxD);
|
||||
|
||||
extern void SkGePollTxD(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
@@ -522,10 +516,6 @@ extern void SkGeXmitLED(
|
||||
int Led,
|
||||
int Mode);
|
||||
|
||||
extern void SkGeInitRamIface(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC);
|
||||
|
||||
extern int SkGeInitAssignRamToQueues(
|
||||
SK_AC *pAC,
|
||||
int ActivePort,
|
||||
@@ -549,11 +539,6 @@ extern void SkMacHardRst(
|
||||
SK_IOC IoC,
|
||||
int Port);
|
||||
|
||||
extern void SkMacClearRst(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port);
|
||||
|
||||
extern void SkXmInitMac(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
@@ -580,11 +565,6 @@ extern void SkMacFlushTxFifo(
|
||||
SK_IOC IoC,
|
||||
int Port);
|
||||
|
||||
extern void SkMacFlushRxFifo(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port);
|
||||
|
||||
extern void SkMacIrq(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
@@ -601,12 +581,6 @@ extern void SkMacAutoNegLipaPhy(
|
||||
int Port,
|
||||
SK_U16 IStatus);
|
||||
|
||||
extern void SkMacSetRxTxEn(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port,
|
||||
int Para);
|
||||
|
||||
extern int SkMacRxTxEnable(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
@@ -659,16 +633,6 @@ extern void SkXmClrExactAddr(
|
||||
int StartNum,
|
||||
int StopNum);
|
||||
|
||||
extern void SkXmInitDupMd(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port);
|
||||
|
||||
extern void SkXmInitPauseMd(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port);
|
||||
|
||||
extern void SkXmAutoNegLipaXmac(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
@@ -729,17 +693,6 @@ extern int SkGmCableDiagStatus(
|
||||
int Port,
|
||||
SK_BOOL StartTest);
|
||||
|
||||
extern int SkGmEnterLowPowerMode(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port,
|
||||
SK_U8 Mode);
|
||||
|
||||
extern int SkGmLeaveLowPowerMode(
|
||||
SK_AC *pAC,
|
||||
SK_IOC IoC,
|
||||
int Port);
|
||||
|
||||
#ifdef SK_DIAG
|
||||
extern void SkGePhyRead(
|
||||
SK_AC *pAC,
|
||||
@@ -782,7 +735,6 @@ extern void SkXmSendCont(
|
||||
/*
|
||||
* public functions in skgeinit.c
|
||||
*/
|
||||
extern void SkGePollRxD();
|
||||
extern void SkGePollTxD();
|
||||
extern void SkGeYellowLED();
|
||||
extern int SkGeCfgSync();
|
||||
@@ -792,7 +744,6 @@ extern int SkGeInit();
|
||||
extern void SkGeDeInit();
|
||||
extern int SkGeInitPort();
|
||||
extern void SkGeXmitLED();
|
||||
extern void SkGeInitRamIface();
|
||||
extern int SkGeInitAssignRamToQueues();
|
||||
|
||||
/*
|
||||
@@ -801,18 +752,15 @@ extern int SkGeInitAssignRamToQueues();
|
||||
extern void SkMacRxTxDisable();
|
||||
extern void SkMacSoftRst();
|
||||
extern void SkMacHardRst();
|
||||
extern void SkMacClearRst();
|
||||
extern void SkMacInitPhy();
|
||||
extern int SkMacRxTxEnable();
|
||||
extern void SkMacPromiscMode();
|
||||
extern void SkMacHashing();
|
||||
extern void SkMacIrqDisable();
|
||||
extern void SkMacFlushTxFifo();
|
||||
extern void SkMacFlushRxFifo();
|
||||
extern void SkMacIrq();
|
||||
extern int SkMacAutoNegDone();
|
||||
extern void SkMacAutoNegLipaPhy();
|
||||
extern void SkMacSetRxTxEn();
|
||||
extern void SkXmInitMac();
|
||||
extern void SkXmPhyRead();
|
||||
extern void SkXmPhyWrite();
|
||||
@@ -820,8 +768,6 @@ extern void SkGmInitMac();
|
||||
extern void SkGmPhyRead();
|
||||
extern void SkGmPhyWrite();
|
||||
extern void SkXmClrExactAddr();
|
||||
extern void SkXmInitDupMd();
|
||||
extern void SkXmInitPauseMd();
|
||||
extern void SkXmAutoNegLipaXmac();
|
||||
extern int SkXmUpdateStats();
|
||||
extern int SkGmUpdateStats();
|
||||
@@ -832,8 +778,6 @@ extern int SkGmResetCounter();
|
||||
extern int SkXmOverflowStatus();
|
||||
extern int SkGmOverflowStatus();
|
||||
extern int SkGmCableDiagStatus();
|
||||
extern int SkGmEnterLowPowerMode();
|
||||
extern int SkGmLeaveLowPowerMode();
|
||||
|
||||
#ifdef SK_DIAG
|
||||
extern void SkGePhyRead();
|
||||
|
Reference in New Issue
Block a user