Просмотр исходного кода

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>
Ben Hutchings 10 лет назад
Родитель
Сommit
865367db65

+ 0 - 5
samples/pktgen/pktgen.conf-1-1

@@ -14,11 +14,6 @@ function pgset() {
     fi
 }
 
-function pg() {
-    echo inject > $PGDEV
-    cat $PGDEV
-}
-
 # Config Start Here -----------------------------------------------------------
 
 

+ 0 - 5
samples/pktgen/pktgen.conf-1-1-flows

@@ -14,11 +14,6 @@ function pgset() {
     fi
 }
 
-function pg() {
-    echo inject > $PGDEV
-    cat $PGDEV
-}
-
 # Config Start Here -----------------------------------------------------------
 
 

+ 0 - 5
samples/pktgen/pktgen.conf-1-1-ip6

@@ -14,11 +14,6 @@ function pgset() {
     fi
 }
 
-function pg() {
-    echo inject > $PGDEV
-    cat $PGDEV
-}
-
 # Config Start Here -----------------------------------------------------------
 
 

+ 0 - 5
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 -----------------------------------------------------------
 
 

+ 0 - 5
samples/pktgen/pktgen.conf-1-1-rdos

@@ -14,11 +14,6 @@ function pgset() {
     fi
 }
 
-function pg() {
-    echo inject > $PGDEV
-    cat $PGDEV
-}
-
 # Config Start Here -----------------------------------------------------------
 
 

+ 0 - 5
samples/pktgen/pktgen.conf-1-2

@@ -14,11 +14,6 @@ function pgset() {
     fi
 }
 
-function pg() {
-    echo inject > $PGDEV
-    cat $PGDEV
-}
-
 # Config Start Here -----------------------------------------------------------
 
 

+ 0 - 5
samples/pktgen/pktgen.conf-2-1

@@ -14,11 +14,6 @@ function pgset() {
     fi
 }
 
-function pg() {
-    echo inject > $PGDEV
-    cat $PGDEV
-}
-
 # Config Start Here -----------------------------------------------------------
 
 

+ 0 - 5
samples/pktgen/pktgen.conf-2-2

@@ -14,11 +14,6 @@ function pgset() {
     fi
 }
 
-function pg() {
-    echo inject > $PGDEV
-    cat $PGDEV
-}
-
 # Config Start Here -----------------------------------------------------------