VMCI: remove set but not used variable 'cid'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 27 Sep 2018 11:01:19 +0000 (11:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 23:02:14 +0000 (16:02 -0700)
commit8f523d6db7ed69f69720267af170c0719023f373
treedc69ba0171adb4f40f9a73c1b291cc5221d719e6
parent52e2dc2ce2d88a1c588cca4fb8ce0c1608c8a7f9
VMCI: remove set but not used variable 'cid'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/misc/vmw_vmci/vmci_host.c: In function 'vmci_host_do_alloc_queuepair':
drivers/misc/vmw_vmci/vmci_host.c:450:6: warning:
 variable 'cid' set but not used [-Wunused-but-set-variable]
  u32 cid;
      ^

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_vmci/vmci_host.c