Removed duplicate private statement

`private` was already called on line 42
Merge pull request #2781 from darmens/patch-1

Removed duplicate private statement