diff options
author | chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil> | 2011-11-22 07:51:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-26 16:40:30 -0500 |
commit | 49f5ed4250c757cb19d953fcac2737a35ca14d76 (patch) | |
tree | 065c6a559b1b8b0a81f62f100804694a05659484 /include/linux/atmdev.h | |
parent | 021ac8d387594bdf51d9a279b2f9e9defb614c9b (diff) |
atm: eliminate atm_guess_pdu2truesize()
Signed-off-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/atmdev.h')
-rw-r--r-- | include/linux/atmdev.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h index 43ea1b2de3ee..f4ff882cb2da 100644 --- a/include/linux/atmdev.h +++ b/include/linux/atmdev.h | |||
@@ -445,16 +445,6 @@ void vcc_insert_socket(struct sock *sk); | |||
445 | 445 | ||
446 | void atm_dev_release_vccs(struct atm_dev *dev); | 446 | void atm_dev_release_vccs(struct atm_dev *dev); |
447 | 447 | ||
448 | /* | ||
449 | * This is approximately the algorithm used by alloc_skb. | ||
450 | * | ||
451 | */ | ||
452 | |||
453 | static inline int atm_guess_pdu2truesize(int size) | ||
454 | { | ||
455 | return SKB_TRUESIZE(size); | ||
456 | } | ||
457 | |||
458 | 448 | ||
459 | static inline void atm_force_charge(struct atm_vcc *vcc,int truesize) | 449 | static inline void atm_force_charge(struct atm_vcc *vcc,int truesize) |
460 | { | 450 | { |