Switch many macros from using CONTAINER_OF to using OBJECT_CONTAINING.
authorBen Pfaff <blp@nicira.com>
Fri, 17 Sep 2010 17:33:10 +0000 (10:33 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Oct 2010 17:25:29 +0000 (10:25 -0700)
commit4e8e4213a815a30216e855a805a8bcd5b8c5a886
tree38dbb503be4f22ae804f3e5f83459c975d83886a
parentadf7cfd851c3d9d6f1ad74653cbd2fecce8c3ba9
Switch many macros from using CONTAINER_OF to using OBJECT_CONTAINING.

These macros require one fewer argument by switching, which makes code
that uses them shorter and more readable.
33 files changed:
lib/classifier.c
lib/dpif-netdev.c
lib/hmap.h
lib/list.h
lib/lockfile.c
lib/mac-learning.c
lib/netdev-linux.c
lib/netdev-vport.c
lib/netdev.c
lib/ovsdb-idl.c
lib/poll-loop.c
lib/process.c
lib/rtnetlink.c
lib/shash.c
lib/shash.h
lib/unixctl.c
ofproto/ofproto-sflow.c
ofproto/ofproto.c
ofproto/status.c
ovsdb/file.c
ovsdb/jsonrpc-server.c
ovsdb/ovsdb-server.c
ovsdb/query.c
ovsdb/row.c
ovsdb/table.c
ovsdb/transaction.c
ovsdb/trigger.c
tests/test-classifier.c
tests/test-hmap.c
tests/test-list.c
tests/test-ovsdb.c
vswitchd/bridge.c
vswitchd/proc-net-compat.c