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
#if 0
/* Scan forward */
extern __inline__ void csz_insert_finish(struct csz_head *b,
struct csz_flow *this)
static inline void csz_insert_finish(struct csz_head *b,
struct csz_flow *this)
{
struct csz_head *f = b->fnext;
unsigned long finish = this->finish;
......@@ -318,8 +318,8 @@ extern __inline__ void csz_insert_finish(struct csz_head *b,
}
#else
/* Scan backward */
extern __inline__ void csz_insert_finish(struct csz_head *b,
struct csz_flow *this)
static inline void csz_insert_finish(struct csz_head *b,
struct csz_flow *this)
{
struct csz_head *f = b->fprev;
unsigned long finish = this->finish;
......@@ -339,8 +339,8 @@ extern __inline__ void csz_insert_finish(struct csz_head *b,
flow with greater start number.
*/
extern __inline__ void csz_insert_start(struct csz_head *b,
struct csz_flow *this)
static inline void csz_insert_start(struct csz_head *b,
struct csz_flow *this)
{
struct csz_head *f = b->snext;
unsigned long start = this->start;
......
......@@ -166,7 +166,7 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb)
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;
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)
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;
......@@ -193,7 +193,7 @@ extern __inline__ void sfq_dec(struct sfq_sched_data *q, sfq_index 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;
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