diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-11-14 16:14:44 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-14 22:10:41 (GMT) |
commit | d91824c08fbcb265ec930d863fa905e8daa836a4 (patch) | |
tree | 2f3c2f27b68f46e1dc5e1fc3139cd52942f818b2 /scripts | |
parent | 3686ec5e84977eddc796903177e7e0a122585c11 (diff) | |
download | linux-fsl-qoriq-d91824c08fbcb265ec930d863fa905e8daa836a4.tar.xz |
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 'scripts')
0 files changed, 0 insertions, 0 deletions