remove lines causing Werror=inline

Change-Id: I80afdb8f0a346b2a84bee9f415bc60136878fd9f