fixes #691 Remove dead code and a duplicated call to
d->nofityOfWriteOp()