Commit 927a97cc authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by David S. Miller

atm: lanai: Remove unused function

Remove the function aal5_spacefor() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 357c4774
...@@ -681,15 +681,6 @@ static inline int aal5_size(int size) ...@@ -681,15 +681,6 @@ static inline int aal5_size(int size)
return cells * 48; return cells * 48;
} }
/* How many bytes can we send if we have "space" space, assuming we have
* to send full cells
*/
static inline int aal5_spacefor(int space)
{
int cells = space / 48;
return cells * 48;
}
/* -------------------- FREE AN ATM SKB: */ /* -------------------- FREE AN ATM SKB: */
static inline void lanai_free_skb(struct atm_vcc *atmvcc, struct sk_buff *skb) static inline void lanai_free_skb(struct atm_vcc *atmvcc, struct sk_buff *skb)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment