swconfig: simplify init code
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 24 Jan 2016 12:36:06 +0000 (12:36 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 24 Jan 2016 12:36:06 +0000 (12:36 +0000)
commitec6d030966dd72ffc495f533f4ea272c8713332d
tree35a80fc965f9734b616cb3a15a594f00537d0eea
parentd59bb325d747e55dea125edb6e3c6c86019f958d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48472 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/swconfig.c