dead code is removed (device_inject)