swconfig: simplify init code
authorJonas Gorski <jogo@openwrt.org>
Sun, 24 Jan 2016 12:36:06 +0000 (12:36 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sun, 24 Jan 2016 12:36:06 +0000 (12:36 +0000)
commit46bd183d2cc8d37d6e6f2dc1a46afc96b0dcaf90
tree35a80fc965f9734b616cb3a15a594f00537d0eea
parente86f5c15856a4ff947fa72d641adfa186cf099b8
swconfig: simplify init code

Directly return the return value of genl_register_family_with_ops()
instead of storing it in a temporary variable, then returning it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48472
target/linux/generic/files/drivers/net/phy/swconfig.c