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

[PKT_SCHED]: extern inline --> static inline

parent b87660cd
...@@ -301,8 +301,8 @@ struct csz_sched_data ...@@ -301,8 +301,8 @@ 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;
unsigned long finish = this->finish; unsigned long finish = this->finish;
...@@ -318,8 +318,8 @@ extern __inline__ void csz_insert_finish(struct csz_head *b, ...@@ -318,8 +318,8 @@ 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;
unsigned long finish = this->finish; unsigned long finish = this->finish;
...@@ -339,8 +339,8 @@ extern __inline__ void csz_insert_finish(struct csz_head *b, ...@@ -339,8 +339,8 @@ 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;
unsigned long start = this->start; unsigned long start = this->start;
......
...@@ -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