summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-08-06 11:10:19 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-08 11:20:45 +0200
commitec6e6925fc2adb98ef351d7c25a7e41caa4d5b77 (patch)
tree79ea3b93ef9ecd409aed67bf975a7d90a18fb0d2 /drivers/staging
parent8d84a9c1d29dbad517228e7e64d07b4d86dc7f59 (diff)
downloadlinux-stable-ec6e6925fc2adb98ef351d7c25a7e41caa4d5b77.tar.gz
linux-stable-ec6e6925fc2adb98ef351d7c25a7e41caa4d5b77.tar.bz2
linux-stable-ec6e6925fc2adb98ef351d7c25a7e41caa4d5b77.zip
staging: gasket: remove some extra semicolon
That semicolons are unneeded, Just remove them. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/gasket/gasket_interrupt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/gasket/gasket_interrupt.c b/drivers/staging/gasket/gasket_interrupt.c
index 09c3d0747af6..1cfbc120f228 100644
--- a/drivers/staging/gasket/gasket_interrupt.c
+++ b/drivers/staging/gasket/gasket_interrupt.c
@@ -386,7 +386,7 @@ int gasket_interrupt_init(struct gasket_dev *gasket_dev, const char *name,
"Cannot handle unsupported interrupt type %d\n",
interrupt_data->type);
ret = -EINVAL;
- };
+ }
if (ret) {
/* 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",
gasket_dev->interrupt_data->type);
ret = -EINVAL;
- };
+ }
if (ret) {
/* 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,
"Cannot handle unsupported interrupt type %d\n",
interrupt_data->type);
- };
+ }
kfree(interrupt_data->interrupt_counts);
kfree(interrupt_data->eventfd_ctxs);