removed old nm2type code

Change-Id: I724c3f7bb25d15a06c001a7071b3ceb1b1fe0ba3