net/core: Fix warning while make xmldocs caused by dev.c