diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2017-12-01 20:01:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-03 16:10:02 +0100 |
commit | 0487426fedf7cf800115bac7ea391de1e2e0fa5f (patch) | |
tree | f09b1169817849c0c1d2ae71524465bf5cdef428 /tools/nfsd | |
parent | hv_netvsc: optimize initialization of RNDIS header (diff) | |
download | linux-0487426fedf7cf800115bac7ea391de1e2e0fa5f.tar.xz linux-0487426fedf7cf800115bac7ea391de1e2e0fa5f.zip |
vmbus: make hv_get_ringbuffer_availbytes local
The last use of hv_get_ringbuffer_availbytes in drivers is now
gone. Only used by the debug info routine so make it static. Also, add
READ_ONCE() to avoid any possible issues with potentially volatile
index values.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/nfsd')
0 files changed, 0 insertions, 0 deletions