Rm warning on place of old API

Change-Id: I2013588863a6b68133769a0bff3aea74a97c9fc9
Merge "Rm warning on place of old API"