Skip to content

Commit

Permalink
samples/pktgen: Delete unused function pg()
Browse files Browse the repository at this point in the history
This function is not used and wouldn't do anything useful as
pktgen does not have an 'inject' command.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Feb 24, 2015
1 parent 7c95a9d commit 865367d
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 40 deletions.
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-1-1
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-1-1-flows
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-1-1-ip6
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-1-1-ip6-rdos
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-1-1-rdos
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-1-2
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-2-1
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down
5 changes: 0 additions & 5 deletions samples/pktgen/pktgen.conf-2-2
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ function pgset() {
fi
}

function pg() {
echo inject > $PGDEV
cat $PGDEV
}

# Config Start Here -----------------------------------------------------------


Expand Down

0 comments on commit 865367d

Please sign in to comment.