OSDN Git Service

ipconfig: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Sat, 15 Dec 2018 07:19:53 +0000 (02:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Dec 2018 19:21:22 +0000 (11:21 -0800)
commit70f98d7c7d51402e7b40c9ec0299bd46b7890da9
tree28e52a70275276e9cd1ebd0eb6f4c1a78d8ff52f
parenta6b981079c766d4783fc29d9d3811d412192bbed
ipconfig: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c