From 20face53bd6bf52749f63c4b0786a88728859418 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Wed, 19 Jan 2011 09:07:53 +0100 Subject: [PATCH] ofono.h: Remove unneeded initialisers They have no effect, enum already ensures the values are unique. --- src/ofono.h | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/ofono.h b/src/ofono.h index 77567c2..badc2ee 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -103,30 +103,30 @@ void __ofono_modem_append_properties(struct ofono_modem *modem, struct ofono_atom; enum ofono_atom_type { - OFONO_ATOM_TYPE_DEVINFO = 0, - OFONO_ATOM_TYPE_CALL_BARRING = 1, - OFONO_ATOM_TYPE_CALL_FORWARDING = 2, - OFONO_ATOM_TYPE_CALL_METER = 3, - OFONO_ATOM_TYPE_CALL_SETTINGS = 4, - OFONO_ATOM_TYPE_NETREG = 5, - OFONO_ATOM_TYPE_PHONEBOOK = 6, - OFONO_ATOM_TYPE_SMS = 7, - OFONO_ATOM_TYPE_SIM = 8, - OFONO_ATOM_TYPE_USSD = 9, - OFONO_ATOM_TYPE_VOICECALL = 10, - OFONO_ATOM_TYPE_HISTORY = 11, - OFONO_ATOM_TYPE_SSN = 12, - OFONO_ATOM_TYPE_MESSAGE_WAITING = 13, - OFONO_ATOM_TYPE_CBS = 14, - OFONO_ATOM_TYPES_CALL_VOLUME = 15, - OFONO_ATOM_TYPE_GPRS = 16, - OFONO_ATOM_TYPE_GPRS_CONTEXT = 17, - OFONO_ATOM_TYPE_RADIO_SETTINGS = 18, - OFONO_ATOM_TYPE_AUDIO_SETTINGS = 19, - OFONO_ATOM_TYPE_STK = 20, - OFONO_ATOM_TYPE_NETTIME = 21, - OFONO_ATOM_TYPE_CTM = 22, - OFONO_ATOM_TYPE_CDMA_VOICECALL_MANAGER = 23, + OFONO_ATOM_TYPE_DEVINFO, + OFONO_ATOM_TYPE_CALL_BARRING, + OFONO_ATOM_TYPE_CALL_FORWARDING, + OFONO_ATOM_TYPE_CALL_METER, + OFONO_ATOM_TYPE_CALL_SETTINGS, + OFONO_ATOM_TYPE_NETREG, + OFONO_ATOM_TYPE_PHONEBOOK, + OFONO_ATOM_TYPE_SMS, + OFONO_ATOM_TYPE_SIM, + OFONO_ATOM_TYPE_USSD, + OFONO_ATOM_TYPE_VOICECALL, + OFONO_ATOM_TYPE_HISTORY, + OFONO_ATOM_TYPE_SSN, + OFONO_ATOM_TYPE_MESSAGE_WAITING, + OFONO_ATOM_TYPE_CBS, + OFONO_ATOM_TYPES_CALL_VOLUME, + OFONO_ATOM_TYPE_GPRS, + OFONO_ATOM_TYPE_GPRS_CONTEXT, + OFONO_ATOM_TYPE_RADIO_SETTINGS, + OFONO_ATOM_TYPE_AUDIO_SETTINGS, + OFONO_ATOM_TYPE_STK, + OFONO_ATOM_TYPE_NETTIME, + OFONO_ATOM_TYPE_CTM, + OFONO_ATOM_TYPE_CDMA_VOICECALL_MANAGER, }; enum ofono_atom_watch_condition { -- 2.7.4