telit: minor coding style fixes

This commit is contained in:
Ben Chan
2017-07-12 01:03:39 -07:00
committed by Aleksander Morgado
parent 39ddd34898
commit 4fbdee1e6d

View File

@@ -473,7 +473,6 @@ mm_telit_get_4g_mm_bands(GMatchInfo *match_info,
sscanf (match_str, "%d", &value);
}
for (i = 0; value > 0; i++) {
if (value % 2 != 0) {
band = MM_MODEM_BAND_EUTRAN_1 + i;
@@ -481,6 +480,7 @@ mm_telit_get_4g_mm_bands(GMatchInfo *match_info,
}
value = value >> 1;
}
end:
g_free (match_str);