diff options
author | Alex Wang <alexw@nicira.com> | 2013-08-08 15:14:20 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-08-09 13:48:11 -0700 |
commit | 344e21d47ecfe342fc5c3c8f32020d7a43089301 (patch) | |
tree | 5e32f4c54bc66b1de97a7a944cdadfcd3d535e0c /vswitchd | |
parent | bd3950ddfa5cf54d79feb332782d66d27c86090f (diff) | |
download | openvswitch-344e21d47ecfe342fc5c3c8f32020d7a43089301.tar.gz |
clang: Pass objects, not their addresses, to thread-safety macros.
This commit changes the code such that arguments to thread-safety
macros are not ampersanded.
Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'vswitchd')
-rw-r--r-- | vswitchd/system-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vswitchd/system-stats.c b/vswitchd/system-stats.c index 9e3d228ad..ae523f34c 100644 --- a/vswitchd/system-stats.c +++ b/vswitchd/system-stats.c @@ -576,7 +576,7 @@ system_stats_wait(void) } static void -discard_stats(void) OVS_REQUIRES(&mutex) +discard_stats(void) OVS_REQUIRES(mutex) { if (system_stats) { smap_destroy(system_stats); |