diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-04-13 20:11:25 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-04-14 10:52:08 +0200 |
commit | a8d3782f9ea7574b8648e69bbb05a0b1d93e437e (patch) | |
tree | f21fa3d22453b5f701c49b2ed7f906f15bc63944 /drivers/vhost/net.c | |
parent | vhost-net: fix vq_memory_access_ok error checking (diff) | |
download | linux-a8d3782f9ea7574b8648e69bbb05a0b1d93e437e.tar.xz linux-a8d3782f9ea7574b8648e69bbb05a0b1d93e437e.zip |
vhost: fix sparse warnings
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r-- | drivers/vhost/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index a6a88dfd5029..38989d1335bc 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -641,7 +641,7 @@ static struct miscdevice vhost_net_misc = { &vhost_net_fops, }; -int vhost_net_init(void) +static int vhost_net_init(void) { int r = vhost_init(); if (r) @@ -658,7 +658,7 @@ err_init: } module_init(vhost_net_init); -void vhost_net_exit(void) +static void vhost_net_exit(void) { misc_deregister(&vhost_net_misc); vhost_cleanup(); |