forked from extern/shorewall_code
Dead code removal
This commit is contained in:
parent
d1d9518c42
commit
d8bcbffb88
@ -203,15 +203,7 @@ sub new_action( $ ) {
|
|||||||
|
|
||||||
my $action = $_[0];
|
my $action = $_[0];
|
||||||
|
|
||||||
$actions{$action} = { actchain => '', requires => {} };
|
$actions{$action} = { actchain => '' };
|
||||||
}
|
|
||||||
|
|
||||||
#
|
|
||||||
# Record a 'requires' relationship between a pair of actions.
|
|
||||||
#
|
|
||||||
sub add_requiredby ( $$ ) {
|
|
||||||
my ($requiredby , $requires ) = @_;
|
|
||||||
$actions{$requires}{requires}{$requiredby} = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -597,7 +589,6 @@ sub process_actions3 () {
|
|||||||
'Limit' => \&Limit, );
|
'Limit' => \&Limit, );
|
||||||
|
|
||||||
while ( my ( $wholeaction, $chainref ) = each %usedactions ) {
|
while ( my ( $wholeaction, $chainref ) = each %usedactions ) {
|
||||||
assert( $chainref->{name} );
|
|
||||||
my ( $action, $level, $tag, $param ) = split /:/, $wholeaction;
|
my ( $action, $level, $tag, $param ) = split /:/, $wholeaction;
|
||||||
|
|
||||||
if ( $targets{$action} & BUILTIN ) {
|
if ( $targets{$action} & BUILTIN ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user