openni_pcd_recorder: Remove redundant code.