[PATCH] i2o: fix semicolon.cocci warnings

kbuild test robot fengguang.wu at intel.com
Thu Apr 30 13:03:03 UTC 2015


drivers/staging/i2o/iop.c:1065:2-3: Unneeded semicolon


 Removes unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Alan Cox <alan at linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 iop.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/staging/i2o/iop.c
+++ b/drivers/staging/i2o/iop.c
@@ -1062,7 +1062,7 @@ struct i2o_controller *i2o_iop_alloc(voi
 	     I2O_MSG_INPOOL_MIN)) {
 		kfree(c);
 		return ERR_PTR(-ENOMEM);
-	};
+	}
 
 	INIT_LIST_HEAD(&c->devices);
 	spin_lock_init(&c->lock);


More information about the devel mailing list