mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 04:58:01 +02:00
setting-serial: drop verify()
We don't need to override this if it always succeeds.
This commit is contained in:
parent
2c3a14fed3
commit
ff10d08079
1 changed files with 1 additions and 8 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
* Boston, MA 02110-1301 USA.
|
* Boston, MA 02110-1301 USA.
|
||||||
*
|
*
|
||||||
* Copyright 2007 - 2011 Red Hat, Inc.
|
* Copyright 2007 - 2018 Red Hat, Inc.
|
||||||
* Copyright 2007 - 2008 Novell, Inc.
|
* Copyright 2007 - 2008 Novell, Inc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -145,12 +145,6 @@ nm_setting_serial_get_send_delay (NMSettingSerial *setting)
|
||||||
return NM_SETTING_SERIAL_GET_PRIVATE (setting)->send_delay;
|
return NM_SETTING_SERIAL_GET_PRIVATE (setting)->send_delay;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
|
||||||
verify (NMSetting *setting, NMConnection *connection, GError **error)
|
|
||||||
{
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nm_setting_serial_init (NMSettingSerial *setting)
|
nm_setting_serial_init (NMSettingSerial *setting)
|
||||||
{
|
{
|
||||||
|
|
@ -254,7 +248,6 @@ nm_setting_serial_class_init (NMSettingSerialClass *setting_class)
|
||||||
/* virtual methods */
|
/* virtual methods */
|
||||||
object_class->set_property = set_property;
|
object_class->set_property = set_property;
|
||||||
object_class->get_property = get_property;
|
object_class->get_property = get_property;
|
||||||
parent_class->verify = verify;
|
|
||||||
|
|
||||||
/* Properties */
|
/* Properties */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue