libril: Remove unused code
authorPengquan Meng <mpq@google.com>
Wed, 6 Sep 2017 23:46:30 +0000 (16:46 -0700)
committerStricted <info@stricted.net>
Wed, 24 Oct 2018 01:49:08 +0000 (03:49 +0200)
Bug: 62249769
Test: manually

Change-Id: Ibeae8537ee87dc9c3481538df0fcdb4f3d50f50c

ril/libril/ril.cpp

index 78acd36648e17f52352fc911e464bda3e21f1b26..2454805325ad74eeb2e7b39b133aacba63b1399a 100644 (file)
@@ -203,11 +203,6 @@ char * RIL_getServiceName() {
     return ril_service_name;
 }
 
-extern "C"
-void RIL_setServiceName(const char * s) {
-    strncpy(ril_service_name, s, MAX_SERVICE_NAME_LENGTH);
-}
-
 RequestInfo *
 addRequestToList(int serial, int slotId, int request) {
     RequestInfo *pRI;