staging: ft1000-pcmcia: remove unused ft1000_asic_read and ft1000_asic_write functions
authorOndrej Zary <linux@rainbow-software.org>
Thu, 30 Jun 2011 22:03:51 +0000 (00:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 17:32:34 +0000 (10:32 -0700)
Functions ft1000_asic_read() and ft1000_asic_write() are unused. Remove them.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c

index b3739b9d6e1f58ddfab66e93bb9d3e44eeba9aa2..23854e01ce28c89def83d4648fe37ea35fa0084e 100644 (file)
@@ -86,40 +86,6 @@ MODULE_SUPPORTED_DEVICE("FT1000");
 
 #define MAX_RCV_LOOP   100
 
-//---------------------------------------------------------------------------
-//
-// 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