From 7686c61ee9decbcc79b2c25d23970ea4f9f03812 Mon Sep 17 00:00:00 2001 From: Vicamo Yang Date: Sat, 29 Mar 2014 15:18:14 +0800 Subject: [PATCH] Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi --- dom/system/gonk/RadioInterfaceLayer.js | 9 --------- dom/system/gonk/ril_worker.js | 12 ------------ 2 files changed, 21 deletions(-) diff --git a/dom/system/gonk/RadioInterfaceLayer.js b/dom/system/gonk/RadioInterfaceLayer.js index 150b689f7102..6f973e9d87be 100644 --- a/dom/system/gonk/RadioInterfaceLayer.js +++ b/dom/system/gonk/RadioInterfaceLayer.js @@ -1552,12 +1552,6 @@ DataConnectionHandler.prototype = { } } }, - - /** - * Handle data call list. - */ - handleDataCallList: function(message) { - }, }; function RadioInterfaceLayer() { @@ -2151,9 +2145,6 @@ RadioInterface.prototype = { } connHandler.handleDataCallState(message); break; - case "datacalllist": - connHandler.handleDataCallList(message); - break; case "emergencyCbModeChange": this.handleEmergencyCbModeChange(message); break; diff --git a/dom/system/gonk/ril_worker.js b/dom/system/gonk/ril_worker.js index 181ffa8decc9..3193bc001d4a 100644 --- a/dom/system/gonk/ril_worker.js +++ b/dom/system/gonk/ril_worker.js @@ -5042,18 +5042,6 @@ RilObject.prototype = { this.sendChromeMessage(options); }, - /** - * Get a list of current data calls. - */ - enumerateDataCalls: function() { - let datacall_list = []; - for each (let datacall in this.currentDataCalls) { - datacall_list.push(datacall); - } - this.sendChromeMessage({rilMessageType: "datacalllist", - datacalls: datacall_list}); - }, - /** * Process STK Proactive Command. */