Remove unused method in scheduler driver

Scheduler driver code clean, remove method encode_instance in scheduler
driver, since it's unused since Folsom.

Fix bug #1224783

Change-Id: I8bd7ee55a4b522d4c628c7f652833dfa20342b33
Merge "Remove unused method in scheduler driver"