Remove unused parameters.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>