commit | 568508aa0724cc39bcf7d3d8001bd27a45609800 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Nov 15 14:19:08 2013 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 15 20:50:23 2013 -0500 |
tree | 11e9648ccbd27021e18307f5639684b5c563c19c | |
parent | 052e31281575b2894aad09672bd9ac435488ff04 [diff] |
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 <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>