Hi, I had made a few more cleanups when I was working on NetworkInterface.c which I thought are worth contributing.
Please review: http://cr.openjdk.java.net/~clanger/webrevs/8163181.1/ Bug: https://bugs.openjdk.java.net/browse/JDK-8163181 As always, changes were built and tested on Linux, AIX, Solaris and Mac. Thanks Christoph