Commit 6c53da0b authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Greg Kroah-Hartman
Browse files

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: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200629150945.10720-22-nsaenzjulienne@suse.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 469fbb24
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;