lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1424745137.4443.5.camel@xylophone.i.decadent.org.uk>
Date:	Tue, 24 Feb 2015 02:32:17 +0000
From:	Ben Hutchings <ben.hutchings@...ethink.co.uk>
To:	netdev@...r.kernel.org
Cc:	linux-kernel@...ts.codethink.co.uk
Subject: [PATCH net-next 04/10] 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@...ethink.co.uk>
---
 samples/pktgen/pktgen.conf-1-1          |    5 -----
 samples/pktgen/pktgen.conf-1-1-flows    |    5 -----
 samples/pktgen/pktgen.conf-1-1-ip6      |    5 -----
 samples/pktgen/pktgen.conf-1-1-ip6-rdos |    5 -----
 samples/pktgen/pktgen.conf-1-1-rdos     |    5 -----
 samples/pktgen/pktgen.conf-1-2          |    5 -----
 samples/pktgen/pktgen.conf-2-1          |    5 -----
 samples/pktgen/pktgen.conf-2-2          |    5 -----
 8 files changed, 40 deletions(-)

diff --git a/samples/pktgen/pktgen.conf-1-1 b/samples/pktgen/pktgen.conf-1-1
index fb2a1e108690..63b1005551dd 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 634a860a745c..a99356236110 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 05a59fea3b49..23b5f830bca4 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 15bf3fb724a2..22a8a617603a 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 d170b5374ae2..67684640f540 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 aab32737bf18..034b9111fe81 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 375bc1d2af53..caa12fc9ad19 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 de800d1d8fbe..f3d28e98a665 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 -----------------------------------------------------------
 

-- 
1.7.10.4




--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ