aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-03-21 14:58:41 +0100
committerAleksander Morgado <aleksander@aleksander.es>2016-03-21 15:05:52 +0100
commit342ea24e346f855f57c69a7fc1fccbbf4e12277d (patch)
treef4414b273df9c416a33fb539db2f89cf975ae9e9
parent2a5909af17324442e052d3833ac7d4ff0ab689ba (diff)
cinterion: drop unused constants
GCC 6 doesn't like this. Unused since f2024b7.
-rw-r--r--plugins/cinterion/mm-broadband-modem-cinterion.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c b/plugins/cinterion/mm-broadband-modem-cinterion.c
index f0fa630f..4882a418 100644
--- a/plugins/cinterion/mm-broadband-modem-cinterion.c
+++ b/plugins/cinterion/mm-broadband-modem-cinterion.c
@@ -71,30 +71,6 @@ struct _MMBroadbandModemCinterionPrivate {
GArray *cnmi_supported_bfr;
};
-/* Setup relationship between the band bitmask in the modem and the bitmask
- * in ModemManager. */
-typedef struct {
- gchar *cinterion_band;
- guint n_mm_bands;
- MMModemBand mm_bands [4];
-} CinterionBand2G;
-
-/* Table checked in both MC75i (GPRS/EDGE) and EGS5 (GPRS) references.
- * Note that the modem's configuration is also based on a bitmask, but as we
- * will just support some of the combinations, we just use strings for them.
- */
-static const CinterionBand2G bands_2g[] = {
- { "1", 1, { MM_MODEM_BAND_EGSM, 0, 0, 0 }},
- { "2", 1, { MM_MODEM_BAND_DCS, 0, 0, 0 }},
- { "4", 1, { MM_MODEM_BAND_PCS, 0, 0, 0 }},
- { "8", 1, { MM_MODEM_BAND_G850, 0, 0, 0 }},
- { "3", 2, { MM_MODEM_BAND_EGSM, MM_MODEM_BAND_DCS, 0, 0 }},
- { "5", 2, { MM_MODEM_BAND_EGSM, MM_MODEM_BAND_PCS, 0, 0 }},
- { "10", 2, { MM_MODEM_BAND_G850, MM_MODEM_BAND_DCS, 0, 0 }},
- { "12", 2, { MM_MODEM_BAND_G850, MM_MODEM_BAND_PCS, 0, 0 }},
- { "15", 4, { MM_MODEM_BAND_EGSM, MM_MODEM_BAND_DCS, MM_MODEM_BAND_PCS, MM_MODEM_BAND_G850 }}
-};
-
/*****************************************************************************/
/* Unsolicited events enabling */