diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-11-14 17:14:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-14 17:10:41 -0500 |
commit | d91824c08fbcb265ec930d863fa905e8daa836a4 (patch) | |
tree | 2f3c2f27b68f46e1dc5e1fc3139cd52942f818b2 /net/ceph | |
parent | 3686ec5e84977eddc796903177e7e0a122585c11 (diff) |
genetlink: register family ops as array
Instead of using a linked list, use an array. This reduces
the data size needed by the users of genetlink, for example
in wireless (net/wireless/nl80211.c) on 64-bit it frees up
over 1K of data space.
Remove the attempted sending of CTRL_CMD_NEWOPS ctrl event
since genl_ctrl_event(CTRL_CMD_NEWOPS, ...) only returns
-EINVAL anyway, therefore no such event could ever be sent.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions