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
Loading
Please register or sign in to comment