[CLEANUP] Remove duplicate code

Change-Id: Ie1c44623c149ab4461d569b40c578088f8c10ee0
Reviewed-on: http://review.typo3.org/32238
Reviewed-by: Tim Lochmüller <tim@fruit-lab.de>
Tested-by: Tim Lochmüller <tim@fruit-lab.de>