char: misc: Fix coding style issues
PATCH 1/1 char: misc: Fix coding style issues
Remove redundant filename from comment block and drop unnecessary braces for single statement block, as reported by changepatch.pl
No functional changes
Signed-off-by Shyam Sunder Reddy Padira <[email protected]>
--- drivers/char/misc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/char/misc.c +1 -3
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0 /* -* linux/drivers/char/misc.c * * Generic misc open routine by Johan Myreen *
@@ -255,9 +254,8 @@ int misc_register(struct miscdevice *misc) misc, misc->groups, "%s", misc->name);if (IS_ERR (misc->this_device)) {misc_minor_free (misc->minor); -if (is_dynamic) { +if (is_dynamic) misc->minor =MISC_DYNAMIC_MINOR ; - } err =PTR_ERR (misc->this_device); goto out; }
Signature · 1 line
2.43.0
Greg KH
maintainerQuoted 3 lines · Shyam Sunder Reddy Padira
Remove redundant filename from comment block and drop unnecessary braces for single statement block, as reported by changepatch.pl
There is no such tool :(