cleanup code to avoid its duplication
cleanup code to avoid its duplication

Signed-off-by: Vasiliy Tolstov <c36af997645181f727020b1671b7c66b7a9c7a34@selfip.ru>

criteo-forks/chef,martinb3/chef,renanvicente/chef,sideci-sample/sideci-sample-chef,clintoncwolfe/chef,mwrock/chef,youngjl1/chef,legal90/chef,nalingarg2/chef-1,mal/chef,skmichaelson/chef,jblaine/chef,oclaussen/chef,ranjib/chef,mikedodge04/chef,sideci-sample/sideci-sample-chef,nathwill/chef,smurawski/chef,skmichaelson/chef,clintoncwolfe/chef,Tensibai/chef,nellshamrell/chef,antonifs/chef,ChaosCloud/chef,patcon/chef,polamjag/chef,malisettirammurthy/chef,BackSlasher/chef,mwrock/chef,sideci-sample/sideci-sample-chef,higanworks/chef,jkerry/chef,strangelittlemonkey/chef,martinisoft/chef,jmhardison/chef,nguyen-tien-mulodo/chef,someara/chef,patcon/chef,jkerry/chef,EasonYi/chef,acaiafa/chef,mikefaille/chef,baberthal/chef,swalberg/chef,ranjib/chef,gene1wood/chef,ducthanh/chef,zshuo/chef,nvwls/chef,Igorshp/chef,tbunnyman/chef,nicklv/chef,clintoncwolfe/chef,natewalck/chef,BackSlasher/chef,gsaslis/chef,someara/chef,jonlives/chef,higanworks/chef,jmhardison/chef,aaron-lane/chef,ktpan/chef-play,tbunnyman/chef,zuazo-forks/chef,ranjib/chef,oclaussen/chef,oclaussen/chef,grubernaut/chef,BackSlasher/chef,mio-g/chef,sempervictus/chef,sanditiffin/chef,strangelittlemonkey/chef,karthikrev/chef,h4ck3rm1k3/chef,mattray/chef,Ppjet6/chef,ktpan/chef-play,swalberg/chef,nalingarg2/chef-1,askl56/chef,ktpan/chef-play,nsdavidson/chef,bahamas10/chef,smurawski/chef,Kast0rTr0y/chef,DeWaRs1206/chef,patcon/chef,martinb3/chef,jblaine/chef,someara/chef,natewalck/chef,jonlives/chef,grubernaut/chef,smurawski/chef,AndyBoucher/Chef-Testing,pburkholder/chef,zuazo-forks/chef,Ppjet6/chef,nvwls/chef,tas50/chef-1,custora/chef,mikedodge04/chef,aaron-lane/chef,zshuo/chef,grubernaut/chef,nsdavidson/chef,askl56/chef,3dinfluence/chef,ducthanh/chef,strangelittlemonkey/chef,joemiller/chef,baberthal/chef,circleback/chef,ccsplit/chef,brettcave/chef,renanvicente/chef,faspl/chef,BackSlasher/chef,skmichaelson/chef,kaznishi/chef,mal/chef,evan2645/chef,malisettirammurthy/chef,ChaosCloud/chef,grubernaut/chef,nguyen-tien-mulodo/chef,nathwill/chef,zshuo/chef,jk47/chef,MsysTechnologiesllc/chef,jk47/chef,nicklv/chef,circleback/chef,aaron-lane/chef,legal90/chef,permyakovsv/chef,tomdoherty/chef,ckaushik/chef,polamjag/chef,DeWaRs1206/chef,nathwill/chef,ekometti/chef,paulmooring/chef,evan2645/chef,nguyen-tien-mulodo/chef,Kast0rTr0y/chef,jagdeesh109/chef,nvwls/chef,ktpan/chef-play,lamont-granquist/chef,tomdoherty/chef,joemiller/chef,Igorshp/chef,faspl/chef,mikedodge04/chef,tomdoherty/chef,renanvicente/chef,ekometti/chef,martinisoft/chef,MichaelPereira/chef,circleback/chef,kaznishi/chef,ChaosCloud/chef,swalberg/chef,youngjl1/chef,andrewpsp/chef,nicklv/chef,faspl/chef,OpSitters/chef,paulmooring/chef,DeWaRs1206/chef,jimmymccrory/chef,baberthal/chef,jblaine/chef,nalingarg2/chef-1,polamjag/chef,someara/chef,nalingarg2/chef-1,cgvarela/chef,zuazo-forks/chef,tas50/chef-1,jimmymccrory/chef,lamont-granquist/chef,tas50/chef-1,ckaushik/chef,ckaushik/chef,sekrett/chef,karthikrev/chef,andrewpsp/chef,lamont-granquist/chef,OpSitters/chef,nellshamrell/chef,mikedodge04/chef,cgvarela/chef,ducthanh/chef,permyakovsv/chef,ChaosCloud/chef,adamleff/chef,MsysTechnologiesllc/chef,EasonYi/chef,mwrock/chef,mio-g/chef,mal/chef,b002368/chef-repo,jblaine/chef,OpSitters/chef,AndyBoucher/Chef-Testing,Igorshp/chef,youngjl1/chef,Tensibai/chef,cgvarela/chef,webframp/chef,DeWaRs1206/chef,mikefaille/chef,jk47/chef,paulmooring/chef,h4ck3rm1k3/chef,MichaelPereira/chef,bahamas10/chef,custora/chef,nathwill/chef,tomdoherty/chef,higanworks/chef,gene1wood/chef,zuazo-forks/chef,mio-g/chef,kaznishi/chef,acaiafa/chef,gsaslis/chef,EasonYi/chef,MichaelPereira/chef,ranjib/chef,someara/chef,Igorshp/chef,Ppjet6/chef,erkolson/chef,custora/chef,brettcave/chef,adamleff/chef,ekometti/chef,nvwls/chef,martinb3/chef,gsaslis/chef,mattray/chef,brettcave/chef,joemiller/chef,natewalck/chef,Kast0rTr0y/chef,josb/chef,webframp/chef,sanditiffin/chef,robmul/chef,jaymzh/chef,strangelittlemonkey/chef,polamjag/chef,gsaslis/chef,mikedodge04/chef,DeWaRs1206/chef,sometimesfood/chef,higanworks/chef,paulmooring/chef,ducthanh/chef,nellshamrell/chef,OpSitters/chef,ekometti/chef,andrewpsp/chef,antonifs/chef,jmhardison/chef,tbunnyman/chef,OpSitters/chef,custora/chef,zshuo/chef,jonlives/chef,permyakovsv/chef,jimmymccrory/chef,jblaine/chef,MsysTechnologiesllc/chef,onlyhavecans/chef,onlyhavecans/chef,askl56/chef,sempervictus/chef,bahamas10/chef,brettcave/chef,b002368/chef-repo,lamont-granquist/chef,MsysTechnologiesllc/chef,tbriggs-curse/chef,patcon/chef,martinb3/chef,mattray/chef,josb/chef,evan2645/chef,baberthal/chef,karthikrev/chef,pburkholder/chef,3dinfluence/chef,karthikrev/chef,sanditiffin/chef,jonlives/chef,higanworks/chef,cgvarela/chef,cachamber/chef,cachamber/chef,sekrett/chef,legal90/chef,mikedodge04/chef,jimmymccrory/chef,josb/chef,sideci-sample/sideci-sample-chef,ccsplit/chef,askl56/chef,bahamas10/chef,nguyen-tien-mulodo/chef,ducthanh/chef,jmhardison/chef,juliandunn/chef,h4ck3rm1k3/chef,skmichaelson/chef,youngjl1/chef,mal/chef,tbriggs-curse/chef,martinb3/chef,renanvicente/chef,jk47/chef,aaron-lane/chef,webframp/chef,cgvarela/chef,erkolson/chef,gsaslis/chef,askl56/chef,robmul/chef,faspl/chef,legal90/chef,malisettirammurthy/chef,nathwill/chef,juliandunn/chef,docwhat/chef,tas50/chef-1,chef/chef,karthikrev/chef,h4ck3rm1k3/chef,pburkholder/chef,smurawski/chef,clintoncwolfe/chef,permyakovsv/chef,jkerry/chef,Kast0rTr0y/chef,ranjib/chef,chef/chef,nellshamrell/chef,mikefaille/chef,sempervictus/chef,malisettirammurthy/chef,tbriggs-curse/chef,jonlives/chef,tbriggs-curse/chef,sanditiffin/chef,AndyBoucher/Chef-Testing,nicklv/chef,jaymzh/chef,joemiller/chef,tomdoherty/chef,docwhat/chef,brettcave/chef,robmul/chef,baberthal/chef,h4ck3rm1k3/chef,jkerry/chef,ckaushik/chef,antonifs/chef,renanvicente/chef,nvwls/chef,sempervictus/chef,martinisoft/chef,DeWaRs1206/chef,jagdeesh109/chef,ktpan/chef-play,martinisoft/chef,tbunnyman/chef,jk47/chef,juliandunn/chef,mattray/chef,aaron-lane/chef,oclaussen/chef,mattray/chef,ekometti/chef,clintoncwolfe/chef,criteo-forks/chef,grubernaut/chef,evan2645/chef,renanvicente/chef,jagdeesh109/chef,sometimesfood/chef,erkolson/chef,swalberg/chef,legal90/chef,adamleff/chef,b002368/chef-repo,custora/chef,chef/chef,skmichaelson/chef,jkerry/chef,andrewpsp/chef,kaznishi/chef,docwhat/chef,nellshamrell/chef,legal90/chef,webframp/chef,zuazo-forks/chef,onlyhavecans/chef,cachamber/chef,acaiafa/chef,zshuo/chef,tbriggs-curse/chef,b002368/chef-repo,circleback/chef,pburkholder/chef,ckaushik/chef,sempervictus/chef,bahamas10/chef,ccsplit/chef,jk47/chef,h4ck3rm1k3/chef,faspl/chef,jaymzh/chef,mal/chef,jimmymccrory/chef,BackSlasher/chef,polamjag/chef,ranjib/chef,josb/chef,robmul/chef,MichaelPereira/chef,erkolson/chef,ccsplit/chef,Tensibai/chef,polamjag/chef,kaznishi/chef,mio-g/chef,evan2645/chef,adamleff/chef,EasonYi/chef,Tensibai/chef,cachamber/chef,jagdeesh109/chef,BackSlasher/chef,Ppjet6/chef,ducthanh/chef,jagdeesh109/chef,nsdavidson/chef,mal/chef,sekrett/chef,grubernaut/chef,b002368/chef-repo,onlyhavecans/chef,sekrett/chef,docwhat/chef,sideci-sample/sideci-sample-chef,nicklv/chef,brettcave/chef,paulmooring/chef,mio-g/chef,jimmymccrory/chef,antonifs/chef,aaron-lane/chef,EasonYi/chef,acaiafa/chef,criteo-forks/chef,pburkholder/chef,MichaelPereira/chef,strangelittlemonkey/chef,AndyBoucher/Chef-Testing,ccsplit/chef,askl56/chef,sometimesfood/chef,zuazo-forks/chef,circleback/chef,circleback/chef,gene1wood/chef,webframp/chef,clintoncwolfe/chef,cachamber/chef,jmhardison/chef,nguyen-tien-mulodo/chef,docwhat/chef,jagdeesh109/chef,ChaosCloud/chef,sekrett/chef,nathwill/chef,AndyBoucher/Chef-Testing,swalberg/chef,natewalck/chef,someara/chef,natewalck/chef,mwrock/chef,ktpan/chef-play,joemiller/chef,jblaine/chef,andrewpsp/chef,sanditiffin/chef,lamont-granquist/chef,cgvarela/chef,nsdavidson/chef,tbunnyman/chef,smurawski/chef,nsdavidson/chef,sanditiffin/chef,karthikrev/chef,permyakovsv/chef,jaymzh/chef,erkolson/chef,oclaussen/chef,skmichaelson/chef,gene1wood/chef,mio-g/chef,ckaushik/chef,mikefaille/chef,onlyhavecans/chef,paulmooring/chef,swalberg/chef,nguyen-tien-mulodo/chef,Kast0rTr0y/chef,robmul/chef,3dinfluence/chef,chef/chef,sometimesfood/chef,nsdavidson/chef,antonifs/chef,jkerry/chef,Ppjet6/chef,nalingarg2/chef-1,kaznishi/chef,joemiller/chef,pburkholder/chef,mikefaille/chef,MichaelPereira/chef,mikefaille/chef,patcon/chef,evan2645/chef,adamleff/chef,strangelittlemonkey/chef,acaiafa/chef,ekometti/chef,Ppjet6/chef,cachamber/chef,EasonYi/chef,b002368/chef-repo,malisettirammurthy/chef,sometimesfood/chef,youngjl1/chef,3dinfluence/chef,tbunnyman/chef,criteo-forks/chef,zshuo/chef,Tensibai/chef,martinisoft/chef,criteo-forks/chef,josb/chef,nicklv/chef,oclaussen/chef,sometimesfood/chef,webframp/chef,Igorshp/chef,josb/chef,Kast0rTr0y/chef,AndyBoucher/Chef-Testing,3dinfluence/chef,juliandunn/chef,lamont-granquist/chef,erkolson/chef,Igorshp/chef,permyakovsv/chef,adamleff/chef,OpSitters/chef,antonifs/chef,youngjl1/chef,nalingarg2/chef-1,baberthal/chef,jmhardison/chef,ChaosCloud/chef,acaiafa/chef,bahamas10/chef,jonlives/chef,patcon/chef,faspl/chef,sempervictus/chef,criteo-forks/chef,sekrett/chef,smurawski/chef,juliandunn/chef,martinb3/chef,robmul/chef,gsaslis/chef,tbriggs-curse/chef,3dinfluence/chef,custora/chef,onlyhavecans/chef,ccsplit/chef,docwhat/chef,andrewpsp/chef,nvwls/chef,nellshamrell/chef,malisettirammurthy/chef,natewalck/chef