kernel/netinet: Remove some unused variables.