Inlined function only used one place.
Inlined function only used one place.

Review: https://reviews.apache.org/r/53461

abudnik/mesos,gsantovena/mesos,zmalik/mesos,dforsyth/mesos,dforsyth/mesos,abudnik/mesos,yuquanshan/customizedMesos,reneploetz/mesos,zmalik/mesos,gsantovena/mesos,Aman-Jain-14/customizedMesos,abudnik/mesos,gsantovena/mesos,craimbert/mesos,craimbert/mesos,yuquanshan/customizedMesos,abudnik/mesos,zmalik/mesos,asamerh4/mesos,craimbert/mesos,craimbert/mesos,Gilbert88/mesos,dforsyth/mesos,yuquanshan/customizedMesos,andschwa/mesos,neilconway/mesos,Gilbert88/mesos,craimbert/mesos,neilconway/mesos,chhsia0/mesos,Gilbert88/mesos,verizonlabs/mesos,chhsia0/mesos,zmalik/mesos,abudnik/mesos,kaysoky/mesos,abudnik/mesos,kaysoky/mesos,craimbert/mesos,neilconway/mesos,reneploetz/mesos,neilconway/mesos,chhsia0/mesos,jpeach/mesos,gsantovena/mesos,zmalik/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,andschwa/mesos,neilconway/mesos,chhsia0/mesos,reneploetz/mesos,kaysoky/mesos,kaysoky/mesos,dforsyth/mesos,andschwa/mesos,verizonlabs/mesos,andschwa/mesos,andschwa/mesos,jpeach/mesos,andschwa/mesos,Gilbert88/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,yuquanshan/customizedMesos,chhsia0/mesos,chhsia0/mesos,dforsyth/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,zmalik/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,kaysoky/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,yuquanshan/customizedMesos,reneploetz/mesos,gsantovena/mesos,jpeach/mesos,Gilbert88/mesos,gsantovena/mesos,verizonlabs/mesos,zmalik/mesos,verizonlabs/mesos,asamerh4/mesos,chhsia0/mesos,yuquanshan/customizedMesos,dforsyth/mesos,asamerh4/mesos,verizonlabs/mesos,Gilbert88/mesos,neilconway/mesos,abudnik/mesos,gsantovena/mesos,reneploetz/mesos,asamerh4/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,verizonlabs/mesos,asamerh4/mesos,kaysoky/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,kaysoky/mesos,asamerh4/mesos,reneploetz/mesos