remove dup code
remove dup code

nudles/incubator-singa,apache/incubator-singa,apache/incubator-singa,nudles/incubator-singa,apache/incubator-singa,apache/incubator-singa,apache/incubator-singa,nudles/incubator-singa,nudles/incubator-singa,nudles/incubator-singa