Removing the routine z_ready_thread_locked() as it is not used anywhere. It was a leftover artefact from development that previously escaped cleanup. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>