Skip to contentSkip to conversation

Remove unused ft1000_asic_read and ft1000_asic_write functions

PATCH New Ondrej Zary 1 participant 1 message Jun 23, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 5/11 Remove unused ft1000_asic_read and ft1000_asic_write functions

Functions ft1000_asic_read() and ft1000_asic_write() are unused. Remove them.

---
 drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c |   34 ----------------------
 1 files changed, 0 insertions(+), 34 deletions(-)
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +0 -34
index b3739b9..23854e0 100644
@@ -88,40 +88,6 @@ MODULE_SUPPORTED_DEVICE("FT1000");
 
 //---------------------------------------------------------------------------
 //
-// Function:   ft1000_asic_read
-// Description: This function will retrieve the value of a specific ASIC
-//             register.
-// Input:
-//    dev - network device structure
-//    offset - ASIC register to read
-// Output:
-//    value - value of ASIC register
-//
-//---------------------------------------------------------------------------
-inline u16 ft1000_asic_read(struct net_device *dev, u16 offset)
-{
-	return (ft1000_read_reg(dev, offset));
-}
-
-//---------------------------------------------------------------------------
-//
-// Function:   ft1000_asic_write
-// Description: This function will set the value of a specific ASIC
-//             register.
-// Input:
-//    dev - network device structure
-//    value - value to set ASIC register
-// Output:
-//    none
-//
-//---------------------------------------------------------------------------
-inline void ft1000_asic_write(struct net_device *dev, u16 offset, u16 value)
-{
-	ft1000_write_reg(dev, offset, value);
-}
-
-//---------------------------------------------------------------------------
-//
 // Function:   ft1000_read_fifo_len
 // Description: This function will read the ASIC Uplink FIFO status register
 //             which will return the number of bytes remaining in the Uplink FIFO.
Signature · 1 line
Ondrej Zary