Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48279
b: refs/heads/master
c: 3d50f23
h: refs/heads/master
i:
  48277: 0a420f2
  48275: 8b1692a
  48271: f347c02
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Feb 13, 2007
1 parent c208c20 commit 469d778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a10d567c89dfba90dde2e0515e25760fd74cde06
refs/heads/master: 3d50f23108ff01457d1ca6fb2b5f2da8214e83e4
15 changes: 1 addition & 14 deletions trunk/net/sched/sch_hfsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@
#include <asm/system.h>
#include <asm/div64.h>

#define HFSC_DEBUG 1

/*
* kernel internal service curve representation:
* coordinates are given by 64 bit unsigned integers.
Expand Down Expand Up @@ -211,17 +209,6 @@ do { \
} while (0)
#endif

#if HFSC_DEBUG
#define ASSERT(cond) \
do { \
if (unlikely(!(cond))) \
printk("assertion %s failed at %s:%i (%s)\n", \
#cond, __FILE__, __LINE__, __FUNCTION__); \
} while (0)
#else
#define ASSERT(cond)
#endif /* HFSC_DEBUG */

#define HT_INFINITY 0xffffffffffffffffULL /* infinite time value */


Expand Down Expand Up @@ -1492,7 +1479,7 @@ hfsc_schedule_watchdog(struct Qdisc *sch, u64 cur_time)
if (next_time == 0 || next_time > q->root.cl_cfmin)
next_time = q->root.cl_cfmin;
}
ASSERT(next_time != 0);
WARN_ON(next_time == 0);
delay = next_time - cur_time;
delay = PSCHED_US2JIFFIE(delay);

Expand Down

0 comments on commit 469d778

Please sign in to comment.