linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: isdn: hysdn_procconf_init() remove parantheses from return value
@ 2019-08-07  2:03 Giridhar Prasath R
  2019-08-07 11:05 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Giridhar Prasath R @ 2019-08-07  2:03 UTC (permalink / raw)
  To: isdn; +Cc: gregkh, arnd, cristianoprasath, netdev, devel, linux-kernel

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

Signed-off-by: Giridhar Prasath R <cristianoprasath@gmail.com>
---
 drivers/staging/isdn/hysdn/hysdn_procconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/isdn/hysdn/hysdn_procconf.c b/drivers/staging/isdn/hysdn/hysdn_procconf.c
index 73079213ec94..48afd9f5316e 100644
--- a/drivers/staging/isdn/hysdn/hysdn_procconf.c
+++ b/drivers/staging/isdn/hysdn/hysdn_procconf.c
@@ -382,7 +382,7 @@ hysdn_procconf_init(void)
 	}
 
 	printk(KERN_NOTICE "HYSDN: procfs initialised\n");
-	return (0);
+	return 0;
 }				/* hysdn_procconf_init */
 
 /*************************************************************************************/
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: isdn: hysdn_procconf_init() remove parantheses from return value
  2019-08-07  2:03 [PATCH] staging: isdn: hysdn_procconf_init() remove parantheses from return value Giridhar Prasath R
@ 2019-08-07 11:05 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2019-08-07 11:05 UTC (permalink / raw)
  To: Giridhar Prasath R; +Cc: isdn, devel, arnd, gregkh, linux-kernel, netdev

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

Thanks!

regards,
dan carpenter


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-07 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07  2:03 [PATCH] staging: isdn: hysdn_procconf_init() remove parantheses from return value Giridhar Prasath R
2019-08-07 11:05 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).