diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-01 14:17:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-02 16:36:08 -0500 |
commit | 50ab97d71b488a8c9e1fc97815566e3dd4d291d9 (patch) | |
tree | dbcad0d959efafefaec1b5be836fe13366d1d95f /drivers/isdn | |
parent | 6af01a70f4f457dd6fdc556973e5429405bdf3aa (diff) |
isdn: hisax: hfc4s8s_l1: Remove some unused functions
Removes some functions that are not used anywhere:
Read_hfc32() Write_hfc32() Write_hfc16()
This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hisax/hfc4s8s_l1.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/isdn/hisax/hfc4s8s_l1.c b/drivers/isdn/hisax/hfc4s8s_l1.c index fc9f9d03fa13..0e5d673871c0 100644 --- a/drivers/isdn/hisax/hfc4s8s_l1.c +++ b/drivers/isdn/hisax/hfc4s8s_l1.c | |||
@@ -225,20 +225,6 @@ fWrite_hfc8(hfc4s8s_hw *a, u_char c) | |||
225 | } | 225 | } |
226 | 226 | ||
227 | static inline void | 227 | static inline void |
228 | Write_hfc16(hfc4s8s_hw *a, u_char b, u_short c) | ||
229 | { | ||
230 | SetRegAddr(a, b); | ||
231 | outw(c, a->iobase); | ||
232 | } | ||
233 | |||
234 | static inline void | ||
235 | Write_hfc32(hfc4s8s_hw *a, u_char b, u_long c) | ||
236 | { | ||
237 | SetRegAddr(a, b); | ||
238 | outl(c, a->iobase); | ||
239 | } | ||
240 | |||
241 | static inline void | ||
242 | fWrite_hfc32(hfc4s8s_hw *a, u_long c) | 228 | fWrite_hfc32(hfc4s8s_hw *a, u_long c) |
243 | { | 229 | { |
244 | outl(c, a->iobase); | 230 | outl(c, a->iobase); |
@@ -266,13 +252,6 @@ Read_hfc16(hfc4s8s_hw *a, u_char b) | |||
266 | } | 252 | } |
267 | 253 | ||
268 | static inline u_long | 254 | static inline u_long |
269 | Read_hfc32(hfc4s8s_hw *a, u_char b) | ||
270 | { | ||
271 | SetRegAddr(a, b); | ||
272 | return (inl((volatile u_int) a->iobase)); | ||
273 | } | ||
274 | |||
275 | static inline u_long | ||
276 | fRead_hfc32(hfc4s8s_hw *a) | 255 | fRead_hfc32(hfc4s8s_hw *a) |
277 | { | 256 | { |
278 | return (inl((volatile u_int) a->iobase)); | 257 | return (inl((volatile u_int) a->iobase)); |