ifcfg-rh: drop unused functions

Perhaps a cargo cult leftover.
This commit is contained in:
Lubomir Rintel 2017-12-08 14:46:11 +01:00
parent 17462a5a5f
commit b49c7e026f
2 changed files with 2 additions and 9 deletions

View file

@ -15,7 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* (C) Copyright 2008 - 2012 Red Hat, Inc.
* (C) Copyright 2008 - 2017 Red Hat, Inc.
*/
#include "nm-default.h"
@ -243,12 +243,6 @@ utils_get_route_ifcfg (const char *parent, gboolean should_create)
return utils_get_extra_ifcfg (parent, ROUTE_TAG, should_create);
}
shvarFile *
utils_get_route6_ifcfg (const char *parent, gboolean should_create)
{
return utils_get_extra_ifcfg (parent, ROUTE6_TAG, should_create);
}
/* Finds out if route file has new or older format
* Returns TRUE - new syntax (ADDRESS<n>=a.b.c.d ...), error opening file or empty
* FALSE - older syntax, i.e. argument to 'ip route add' (1.2.3.0/24 via 11.22.33.44)

View file

@ -15,7 +15,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* (C) Copyright 2008 - 2012 Red Hat, Inc.
* (C) Copyright 2008 - 2017 Red Hat, Inc.
*/
#ifndef _UTILS_H_
@ -45,7 +45,6 @@ char *utils_get_route6_path (const char *parent);
shvarFile *utils_get_extra_ifcfg (const char *parent, const char *tag, gboolean should_create);
shvarFile *utils_get_keys_ifcfg (const char *parent, gboolean should_create);
shvarFile *utils_get_route_ifcfg (const char *parent, gboolean should_create);
shvarFile *utils_get_route6_ifcfg (const char *parent, gboolean should_create);
gboolean utils_has_route_file_new_syntax (const char *filename);
gboolean utils_has_complex_routes (const char *filename, int addr_family);