dda.c: add some TODOs about duplicate and redundant code.