remove null options guard

no need to check for null options here as the first line of the
function already assumes an options object.
Merge pull request #2702 from hartzler/remove-unreachable-code

remove null options guard