summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen.c')
-rw-r--r--trafgen.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/trafgen.c b/trafgen.c
index e628646..78be711 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -567,11 +567,6 @@ static void shaper_init(struct shaper *sh)
static void shaper_set_delay(struct shaper *sh, time_t sec, long int ns)
{
- if (!(sec | ns)) {
- sh->type = SHAPER_NONE;
- return;
- }
-
sh->type = SHAPER_DELAY;
sh->delay.tv_sec = sec;
sh->delay.tv_nsec = ns;