Skip to contentSkip to conversation

staging: isdn: hysdn_procconf_init() remove parantheses from return value

PATCH In review Giridhar Prasath R 2 participants 2 messages Aug 6, 2019 – Aug 7, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: isdn: hysdn_procconf_init() remove parantheses from return value

ERROR: return is not a function, parentheses are not required
FILE: git/kernels/staging/drivers/staging/isdn/hysdn/hysdn_procconf.c:385
+ return (0);

---
 drivers/staging/isdn/hysdn/hysdn_procconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/isdn/hysdn/hysdn_procconf.c +1 -1
index 73079213ec94..48afd9f5316e 100644
@@ -382,7 +382,7 @@ hysdn_procconf_init(void)
 	}
 
 	printk(KERN_NOTICE "HYSDN: procfs initialised\n");
-	return (0);
+	return 0;
 }				/* hysdn_procconf_init */
 
 /*************************************************************************************/
Signature · 1 line
2.22.0
#1 lore raw

This driver is going to be deleted soon so we aren't accepting cleanups.

Thanks!

regards,
dan carpenter