diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-13 13:45:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-13 17:27:18 -0500 |
commit | 927a97ccd25b67a80bfe8476fc08866fd4be2fc9 (patch) | |
tree | 0e6d2cbb19e20bd2915d4750982be3d98be3f3d7 | |
parent | 357c4774b5b08878d980847f496af38869e7aad0 (diff) |
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/atm/lanai.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c index 93eaf8d94492..d2e9ea8d504e 100644 --- a/drivers/atm/lanai.c +++ b/drivers/atm/lanai.c | |||
@@ -681,15 +681,6 @@ static inline int aal5_size(int size) | |||
681 | return cells * 48; | 681 | return cells * 48; |
682 | } | 682 | } |
683 | 683 | ||
684 | /* How many bytes can we send if we have "space" space, assuming we have | ||
685 | * to send full cells | ||
686 | */ | ||
687 | static inline int aal5_spacefor(int space) | ||
688 | { | ||
689 | int cells = space / 48; | ||
690 | return cells * 48; | ||
691 | } | ||
692 | |||
693 | /* -------------------- FREE AN ATM SKB: */ | 684 | /* -------------------- FREE AN ATM SKB: */ |
694 | 685 | ||
695 | static inline void lanai_free_skb(struct atm_vcc *atmvcc, struct sk_buff *skb) | 686 | static inline void lanai_free_skb(struct atm_vcc *atmvcc, struct sk_buff *skb) |