Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec6e6925 authored by zhong jiang's avatar zhong jiang Committed by Greg Kroah-Hartman
Browse files

staging: gasket: remove some extra semicolon



That semicolons are unneeded, Just remove them.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8d84a9c1
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -386,7 +386,7 @@ int gasket_interrupt_init(struct gasket_dev *gasket_dev, const char *name,
			"Cannot handle unsupported interrupt type %d\n",
			"Cannot handle unsupported interrupt type %d\n",
			interrupt_data->type);
			interrupt_data->type);
		ret = -EINVAL;
		ret = -EINVAL;
	};
	}


	if (ret) {
	if (ret) {
		/* Failing to setup interrupts will cause the device to report
		/* Failing to setup interrupts will cause the device to report
@@ -445,7 +445,7 @@ int gasket_interrupt_reinit(struct gasket_dev *gasket_dev)
			"Cannot handle unsupported interrupt type %d\n",
			"Cannot handle unsupported interrupt type %d\n",
			gasket_dev->interrupt_data->type);
			gasket_dev->interrupt_data->type);
		ret = -EINVAL;
		ret = -EINVAL;
	};
	}


	if (ret) {
	if (ret) {
		/* Failing to setup MSIx will cause the device
		/* Failing to setup MSIx will cause the device
@@ -493,7 +493,7 @@ void gasket_interrupt_cleanup(struct gasket_dev *gasket_dev)
		dev_dbg(gasket_dev->dev,
		dev_dbg(gasket_dev->dev,
			"Cannot handle unsupported interrupt type %d\n",
			"Cannot handle unsupported interrupt type %d\n",
			interrupt_data->type);
			interrupt_data->type);
	};
	}


	kfree(interrupt_data->interrupt_counts);
	kfree(interrupt_data->interrupt_counts);
	kfree(interrupt_data->eventfd_ctxs);
	kfree(interrupt_data->eventfd_ctxs);