summaryrefslogtreecommitdiffstats
path: root/include/linux/atmdev.h
diff options
context:
space:
mode:
authorchas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>2011-11-22 12:51:56 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-26 16:40:30 -0500
commit49f5ed4250c757cb19d953fcac2737a35ca14d76 (patch)
tree065c6a559b1b8b0a81f62f100804694a05659484 /include/linux/atmdev.h
parent021ac8d387594bdf51d9a279b2f9e9defb614c9b (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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h
index 43ea1b2de3e..f4ff882cb2d 100644
--- a/include/linux/atmdev.h
+++ b/include/linux/atmdev.h
@@ -445,16 +445,6 @@ void vcc_insert_socket(struct sock *sk);
void atm_dev_release_vccs(struct atm_dev *dev);
-/*
- * This is approximately the algorithm used by alloc_skb.
- *
- */
-
-static inline int atm_guess_pdu2truesize(int size)
-{
- return SKB_TRUESIZE(size);
-}
-
static inline void atm_force_charge(struct atm_vcc *vcc,int truesize)
{