Remove netns related codes.