Get rid of a redundant inline function.

Change-Id: I52f878f8817a8af6ab0be8d152e01864cbb95bcb
Silence a warning for an unused function.

Change-Id: I3532c5a9a54cbe89da2b8e26b1559bc8acfc0834