summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2015-02-24 02:32:17 +0000
committerDavid S. Miller <davem@davemloft.net>2015-02-23 22:03:18 -0500
commit865367db658f6f4d7b8280b0968b47e2cbddab90 (patch)
treeeeadebe68ed49542f77b18f8e8c41561d187b402 /samples
parent7c95a9d962f9ffdf02a3d82a6ae108c254a29122 (diff)
downloadlinux-865367db658f6f4d7b8280b0968b47e2cbddab90.tar.gz
linux-865367db658f6f4d7b8280b0968b47e2cbddab90.tar.bz2
linux-865367db658f6f4d7b8280b0968b47e2cbddab90.zip
samples/pktgen: Delete unused function pg()
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>
Diffstat (limited to 'samples')
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-15
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-flows5
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip65
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip6-rdos5
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-rdos5
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-25
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-15
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-25
8 files changed, 0 insertions, 40 deletions
diff --git a/samples/pktgen/pktgen.conf-1-1 b/samples/pktgen/pktgen.conf-1-1
index 5d30f836ca3e..0a81c985129c 100755
--- a/samples/pktgen/pktgen.conf-1-1
+++ b/samples/pktgen/pktgen.conf-1-1
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------
diff --git a/samples/pktgen/pktgen.conf-1-1-flows b/samples/pktgen/pktgen.conf-1-1-flows
index 88a01b7d3531..872dcbadd6c3 100755
--- a/samples/pktgen/pktgen.conf-1-1-flows
+++ b/samples/pktgen/pktgen.conf-1-1-flows
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6 b/samples/pktgen/pktgen.conf-1-1-ip6
index 752f112bd9e6..cf0e86f8b43c 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6
+++ b/samples/pktgen/pktgen.conf-1-1-ip6
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6-rdos b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
index fd364277e43f..799baeec0216 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------
diff --git a/samples/pktgen/pktgen.conf-1-1-rdos b/samples/pktgen/pktgen.conf-1-1-rdos
index bc81fa319243..e71f2818eef9 100755
--- a/samples/pktgen/pktgen.conf-1-1-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-rdos
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------
diff --git a/samples/pktgen/pktgen.conf-1-2 b/samples/pktgen/pktgen.conf-1-2
index f99b88673860..7f6e88e53ffd 100755
--- a/samples/pktgen/pktgen.conf-1-2
+++ b/samples/pktgen/pktgen.conf-1-2
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------
diff --git a/samples/pktgen/pktgen.conf-2-1 b/samples/pktgen/pktgen.conf-2-1
index 845d7bf1609a..5e402cf9b0f5 100755
--- a/samples/pktgen/pktgen.conf-2-1
+++ b/samples/pktgen/pktgen.conf-2-1
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------
diff --git a/samples/pktgen/pktgen.conf-2-2 b/samples/pktgen/pktgen.conf-2-2
index 7ce86470a3a9..d63dc5f2112d 100755
--- a/samples/pktgen/pktgen.conf-2-2
+++ b/samples/pktgen/pktgen.conf-2-2
@@ -14,11 +14,6 @@ function pgset() {
fi
}
-function pg() {
- echo inject > $PGDEV
- cat $PGDEV
-}
-
# Config Start Here -----------------------------------------------------------