removed some dead code

I noticed that there was some dead code in the main file of dnode, but I don't know if this is the preferred way to fix it.