1
0
Fork 0

staging: vchi: Get rid of effect less expression

It was probably there to trick compilers into ignoring unused variables,
which isn't needed in Linux.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200629150945.10720-22-nsaenzjulienne@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
zero-sugar-mainline-defconfig
Nicolas Saenz Julienne 2020-06-29 17:09:19 +02:00 committed by Greg Kroah-Hartman
parent 469fbb24ce
commit 6c53da0b2f
1 changed files with 0 additions and 2 deletions

View File

@ -288,8 +288,6 @@ static struct vchi_service *service_alloc(struct vchiq_instance *instance,
{
struct vchi_service *service = kzalloc(sizeof(struct vchi_service), GFP_KERNEL);
(void)instance;
if (service) {
if (!vchiu_queue_init(&service->queue, 64)) {
service->callback = setup->callback;