Removed not needed loading code from entrypoint

Change-Id: I34d68a0ce777cbb111555cf20a8f05f2af5e4cc9