Commit e11ab4f8 authored by David S. Miller's avatar David S. Miller

[PKT_SCHED]: extern inline --> static inline

parent b87660cd
...@@ -301,7 +301,7 @@ struct csz_sched_data ...@@ -301,7 +301,7 @@ struct csz_sched_data
#if 0 #if 0
/* Scan forward */ /* Scan forward */
extern __inline__ void csz_insert_finish(struct csz_head *b, static inline void csz_insert_finish(struct csz_head *b,
struct csz_flow *this) struct csz_flow *this)
{ {
struct csz_head *f = b->fnext; struct csz_head *f = b->fnext;
...@@ -318,7 +318,7 @@ extern __inline__ void csz_insert_finish(struct csz_head *b, ...@@ -318,7 +318,7 @@ extern __inline__ void csz_insert_finish(struct csz_head *b,
} }
#else #else
/* Scan backward */ /* Scan backward */
extern __inline__ void csz_insert_finish(struct csz_head *b, static inline void csz_insert_finish(struct csz_head *b,
struct csz_flow *this) struct csz_flow *this)
{ {
struct csz_head *f = b->fprev; struct csz_head *f = b->fprev;
...@@ -339,7 +339,7 @@ extern __inline__ void csz_insert_finish(struct csz_head *b, ...@@ -339,7 +339,7 @@ extern __inline__ void csz_insert_finish(struct csz_head *b,
flow with greater start number. flow with greater start number.
*/ */
extern __inline__ void csz_insert_start(struct csz_head *b, static inline void csz_insert_start(struct csz_head *b,
struct csz_flow *this) struct csz_flow *this)
{ {
struct csz_head *f = b->snext; struct csz_head *f = b->snext;
......
...@@ -166,7 +166,7 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb) ...@@ -166,7 +166,7 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb)
return sfq_fold_hash(q, h, h2); return sfq_fold_hash(q, h, h2);
} }
extern __inline__ void sfq_link(struct sfq_sched_data *q, sfq_index x) static inline void sfq_link(struct sfq_sched_data *q, sfq_index x)
{ {
sfq_index p, n; sfq_index p, n;
int d = q->qs[x].qlen + SFQ_DEPTH; int d = q->qs[x].qlen + SFQ_DEPTH;
...@@ -178,7 +178,7 @@ extern __inline__ void sfq_link(struct sfq_sched_data *q, sfq_index x) ...@@ -178,7 +178,7 @@ extern __inline__ void sfq_link(struct sfq_sched_data *q, sfq_index x)
q->dep[p].next = q->dep[n].prev = x; q->dep[p].next = q->dep[n].prev = x;
} }
extern __inline__ void sfq_dec(struct sfq_sched_data *q, sfq_index x) static inline void sfq_dec(struct sfq_sched_data *q, sfq_index x)
{ {
sfq_index p, n; sfq_index p, n;
...@@ -193,7 +193,7 @@ extern __inline__ void sfq_dec(struct sfq_sched_data *q, sfq_index x) ...@@ -193,7 +193,7 @@ extern __inline__ void sfq_dec(struct sfq_sched_data *q, sfq_index x)
sfq_link(q, x); sfq_link(q, x);
} }
extern __inline__ void sfq_inc(struct sfq_sched_data *q, sfq_index x) static inline void sfq_inc(struct sfq_sched_data *q, sfq_index x)
{ {
sfq_index p, n; sfq_index p, n;
int d; int d;
......
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