Some annoying error messages in system log related to LuCI

My DM200 apparently doesn't have a hardware switch supported by swconfig, so everytime I go to that page, I get a message stating that swconfig can't connect to the switch.
How can I disable it?
After grepping I found only two places in code where swconfig is called and commented them both (assigning swc with nil value).
This doesn't help and the message persists.
Where else is swconfig getting called?

I am also getting quite a few daemon.err uhttpd[25108]: sh: write error: Broken pipe messages
Not sure what causes them yet.