Removed unreachable if-statement.

We don't have a 'DDR' memory, so reaching this if-statement would assert in the get-name-from-type function. The if-tree is exhasutive, so it is safe to remove.