Removed unused code

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>