ndomod: Cleanup sink related functions.

Remove some unused/unneeded code; and cleanup formatting and comments.
Touch up some minor literal value and defined constant usage all
around.