[PATCH] staging: pi433: Remove comments inside code

hariprasath.elango at gmail.com hariprasath.elango at gmail.com
Wed Mar 14 10:23:31 UTC 2018


From: HariPrasath Elango <hariprasath.elango at gmail.com>

Remove comments inbetween code as in this case.

Signed-off-by: HariPrasath Elango <hariprasath.elango at gmail.com>
---
 drivers/staging/pi433/pi433_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index 88da91d..5c6a722 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -1331,7 +1331,7 @@ static int __init pi433_init(void)
 	 * that will key udev/mdev to add/remove /dev nodes.  Last, register
 	 * Last, register the driver which manages those device numbers.
 	 */
-	status = alloc_chrdev_region(&pi433_dev, 0 /*firstminor*/, N_PI433_MINORS /*count*/, "pi433" /*name*/);
+	status = alloc_chrdev_region(&pi433_dev, 0, N_PI433_MINORS, "pi433");
 	if (status < 0)
 		return status;
 
-- 
2.10.0.GIT



More information about the devel mailing list