Remove warnings due to unused parameters.

Signed-off-by: Steve Schefter <steve.schefter@timesys.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>