From: Johannes Berg Date: Fri, 15 Nov 2013 13:19:08 +0000 (+0100) Subject: genetlink: unify registration functions X-Git-Tag: v3.13-rc1~33^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568508aa0724cc39bcf7d3d8001bd27a45609800;p=pandora-kernel.git genetlink: unify registration functions Now that the ops assignment is just two variables rather than a long list iteration etc., there's no reason to separately export __genl_register_family() and __genl_register_family_with_ops(). Unify the two functions into __genl_register_family() and make genl_register_family_with_ops() call it after assigning the ops. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed