Clean unused variables and fix typo
Clean unused variables and fix typo

- Clean some unused variables
- format code.
- fix minor typo

Signed-off-by: Zhang Wei <14976e959b2860fb06a3c1edbdb1945a4e11b8b5@huawei.com>

WeiZhang555/libnetwork,abhi/libnetwork,allencloud/libnetwork,sainath14/libnetwork,YujiOshima/libnetwork,junxu/libnetwork,curtiszimmerman/libnetwork,hackersdotmu/libnetwork,mahak/libnetwork,vdemeester/libnetwork,tgraf/libnetwork,mavenugo/libnetwork,kolyshkin/libnetwork,jmzwcn/libnetwork,jmzwcn/libnetwork,mbanikazemi/libnetwork,vdemeester/libnetwork,ityangchen/libnetwork,amitkris/libnetwork,medallia/libnetwork,docker/libnetwork,anortef/libnetwork,tmakita/libnetwork,abhi/libnetwork,hackersdotmu/libnetwork,mahak/libnetwork,WeiZhang555/libnetwork,medallia/libnetwork,AdoHe/libnetwork,pyakpyak/libnetwork,curtiszimmerman/libnetwork,tmakita/libnetwork,runcom/libnetwork,allencloud/libnetwork,docker/libnetwork,kolyshkin/libnetwork,aboch/libnetwork_new,jimmycmh/libnetwork,sainath14/libnetwork,fcrisciani/libnetwork,jimmycmh/libnetwork,YujiOshima/libnetwork,anortef/libnetwork,cpuguy83/libnetwork,amitkris/libnetwork,junxu/libnetwork,fcrisciani/libnetwork,mahak/libnetwork,runcom/libnetwork,ityangchen/libnetwork,mYmNeo/libnetwork,cpuguy83/libnetwork,docker/libnetwork,tgraf/libnetwork,vdemeester/libnetwork,msabansal/libnetwork,pyakpyak/libnetwork,aboch/libnetwork_new,kolyshkin/libnetwork,AdoHe/libnetwork,coolljt0725/libnetwork,msabansal/libnetwork,mbanikazemi/libnetwork,mavenugo/libnetwork,mYmNeo/libnetwork,abhi/libnetwork,coolljt0725/libnetwork,medallia/libnetwork