[NET]: Nicer WARN_ON in netstat_show
authorPavel Emelyanov <xemul@openvz.org>
Thu, 29 Nov 2007 13:42:42 +0000 (00:42 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:10 +0000 (14:55 -0800)
commitdf1b86c53dc56b1a3125b6792356066ac3af4254
tree68d0f1a2e66044ea5bc047e3db8fbe4f537d425a
parentc7dc89c0ac8e7c3796bff91becf58ccdbcaf9f18
[NET]: Nicer WARN_ON in netstat_show

The

        if (statement)
                WARN_ON(1);

looks much better as

        WARN_ON(statement);

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c