xenbus: drop useless LIST_HEAD in xenbus_write_watch() and xenbus_file_write()
authorMao Wenan <maowenan@huawei.com>
Tue, 16 Apr 2019 04:06:51 +0000 (12:06 +0800)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 25 Apr 2019 14:33:59 +0000 (10:33 -0400)
commit51cf07a7b6cd99d9b910932e2af4e7282782e3fe
tree547c668004a2996e1457d5592a59f44172bda13e
parent98105e9a60612a2c5fda45aee69a5d084d280f24
xenbus: drop useless LIST_HEAD in xenbus_write_watch() and xenbus_file_write()

Drop LIST_HEAD where the variable it declares is never used.

The declarations were introduced with the file, but the declared
variables were not used.

Fixes: 1107ba885e469 ("xen: add xenfs to allow usermode <-> Xen interaction")
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/xenbus/xenbus_dev_frontend.c