Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12be3fff authored by Logan Chien's avatar Logan Chien
Browse files

Remove dead code.

Change-Id: I2838a40026291e7345b07911af3ba17278b63ffe
parent b145ae9e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ bool rsdScriptInit(const Context *rsc,
    //LOGE("rsdScriptCreate %p %p %p %p %i %i %p", rsc, resName, cacheDir, bitcode, bitcodeSize, flags, lookupFunc);

    pthread_mutex_lock(&rsdgInitMutex);
    char *cachePath = NULL;

    size_t exportFuncCount = 0;
    size_t exportVarCount = 0;
    size_t objectSlotCount = 0;
@@ -122,8 +122,6 @@ bool rsdScriptInit(const Context *rsc,
        goto error;
    }

    free(cachePath);

    drv->mRoot = reinterpret_cast<int (*)()>(bccGetFuncAddr(drv->mBccScript, "root"));
    drv->mInit = reinterpret_cast<void (*)()>(bccGetFuncAddr(drv->mBccScript, "init"));
    drv->mFreeChildren = reinterpret_cast<void (*)()>(bccGetFuncAddr(drv->mBccScript, ".rs.dtor"));
+0 −1
Original line number Diff line number Diff line
@@ -67,7 +67,6 @@ public:
    };
    Enviroment_t mEnviroment;

    void initSlots();
    void setSlot(uint32_t slot, Allocation *a);
    void setVar(uint32_t slot, const void *val, size_t len);
    void setVarObj(uint32_t slot, ObjectBase *val);