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>
This commit is contained in:
parent
6af01a70f4
commit
50ab97d71b
1 changed files with 0 additions and 21 deletions
|
@ -224,20 +224,6 @@ fWrite_hfc8(hfc4s8s_hw *a, u_char c)
|
||||||
outb(c, a->iobase);
|
outb(c, a->iobase);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
|
||||||
Write_hfc16(hfc4s8s_hw *a, u_char b, u_short c)
|
|
||||||
{
|
|
||||||
SetRegAddr(a, b);
|
|
||||||
outw(c, a->iobase);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
Write_hfc32(hfc4s8s_hw *a, u_char b, u_long c)
|
|
||||||
{
|
|
||||||
SetRegAddr(a, b);
|
|
||||||
outl(c, a->iobase);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
fWrite_hfc32(hfc4s8s_hw *a, u_long c)
|
fWrite_hfc32(hfc4s8s_hw *a, u_long c)
|
||||||
{
|
{
|
||||||
|
@ -265,13 +251,6 @@ Read_hfc16(hfc4s8s_hw *a, u_char b)
|
||||||
return (inw((volatile u_int) a->iobase));
|
return (inw((volatile u_int) a->iobase));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline u_long
|
|
||||||
Read_hfc32(hfc4s8s_hw *a, u_char b)
|
|
||||||
{
|
|
||||||
SetRegAddr(a, b);
|
|
||||||
return (inl((volatile u_int) a->iobase));
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline u_long
|
static inline u_long
|
||||||
fRead_hfc32(hfc4s8s_hw *a)
|
fRead_hfc32(hfc4s8s_hw *a)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue