remove unnecessary arguments from function
Merge pull request #1 from dmfilipenko/patch-1

Remove unnecessary arguments.