code cleanup. removed unused code or wrong comments.
Authored by: mrieser 2010-02-16
Parent: [r10454]
Child: [r10456]