diff options
author | Baoyou Xie <[email protected]> | 2016-09-01 19:02:57 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2016-09-09 21:12:35 +0300 |
commit | af7c1beccfd98bad752644dc14ea93805d65b2c9 (patch) | |
tree | beb6738663adfee88c328e1fa38de7da8d3994ae /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
virtio: mark vring_dma_dev() static
We get 1 warning when building kernel with W=1:
drivers/virtio/virtio_ring.c:170:16: warning: no previous prototype for 'vring_dma_dev' [-Wmissing-prototypes]
In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions