Delete unnecessary function

This commit is contained in:
Tom Eastep 2009-11-11 16:35:46 -08:00
parent e748341afd
commit 2d53f8cb0c

View File

@ -2888,15 +2888,6 @@ sub emitr( $ ) {
}
}
#
# Simple version that only handles rules
#
sub emitr1( $ ) {
my $rule = $_[0];
emit_unindented $rule;
}
#
# Generate the netfilter input
#
@ -3184,7 +3175,7 @@ sub create_stop_load( $ ) {
# Then emit the rules
#
for my $chainref ( @chains ) {
emitr1 $_ for @{$chainref->{rules}};
emit_unindented $_ for @{$chainref->{rules}};
}
#
# Commit the changes to the table