diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2011-06-30 18:03:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-05 13:32:34 -0400 |
commit | ba5e17e6abae1669f9ed1d63798273617dc2992e (patch) | |
tree | 3f79f1dde4901b739a2d19d7e433cf4886069575 /drivers/staging/ft1000 | |
parent | 3061fab1521e11dbcc3f5e36cc02c634e377da1d (diff) |
staging: ft1000-pcmcia: remove unused ft1000_asic_read and ft1000_asic_write functions
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>
Diffstat (limited to 'drivers/staging/ft1000')
-rw-r--r-- | drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c index b3739b9d6e1..23854e01ce2 100644 --- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | |||
@@ -88,40 +88,6 @@ MODULE_SUPPORTED_DEVICE("FT1000"); | |||
88 | 88 | ||
89 | //--------------------------------------------------------------------------- | 89 | //--------------------------------------------------------------------------- |
90 | // | 90 | // |
91 | // Function: ft1000_asic_read | ||
92 | // Description: This function will retrieve the value of a specific ASIC | ||
93 | // register. | ||
94 | // Input: | ||
95 | // dev - network device structure | ||
96 | // offset - ASIC register to read | ||
97 | // Output: | ||
98 | // value - value of ASIC register | ||
99 | // | ||
100 | //--------------------------------------------------------------------------- | ||
101 | inline u16 ft1000_asic_read(struct net_device *dev, u16 offset) | ||
102 | { | ||
103 | return (ft1000_read_reg(dev, offset)); | ||
104 | } | ||
105 | |||
106 | //--------------------------------------------------------------------------- | ||
107 | // | ||
108 | // Function: ft1000_asic_write | ||
109 | // Description: This function will set the value of a specific ASIC | ||
110 | // register. | ||
111 | // Input: | ||
112 | // dev - network device structure | ||
113 | // value - value to set ASIC register | ||
114 | // Output: | ||
115 | // none | ||
116 | // | ||
117 | //--------------------------------------------------------------------------- | ||
118 | inline void ft1000_asic_write(struct net_device *dev, u16 offset, u16 value) | ||
119 | { | ||
120 | ft1000_write_reg(dev, offset, value); | ||
121 | } | ||
122 | |||
123 | //--------------------------------------------------------------------------- | ||
124 | // | ||
125 | // Function: ft1000_read_fifo_len | 91 | // Function: ft1000_read_fifo_len |
126 | // Description: This function will read the ASIC Uplink FIFO status register | 92 | // Description: This function will read the ASIC Uplink FIFO status register |
127 | // which will return the number of bytes remaining in the Uplink FIFO. | 93 | // which will return the number of bytes remaining in the Uplink FIFO. |