Category: Linux

Staging: speakup: Remove braces for single statement blocks

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/speakup/speakup_dectlk.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Continue reading

Staging: android: Remove unnecessary braces.

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/android/ashmem.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Continue reading

Staging: lustre: lnet: Remove braces for single statement blocks

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-)   …

Continue reading

Staging: lustre: llite: llite_lib.c: Remove unnecessary braces

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/llite/llite_lib.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-)   …

Continue reading

Staging: lustre: llite: llite_close.c: Remove unnecessary braces

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/llite/llite_close.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-)   …

Continue reading

Staging: lustre: obdclass: Remove braces for single statement blocks

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/obdclass/dt_object.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-)   …

Continue reading

Staging: lustre: libcfs: Remove braces for single statement blocks

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-)   …

Continue reading

Staging: lustre: ptlrpc: Remove braces for single statement blocks

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/ptlrpc/client.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-)   …

Continue reading

Staging: rtl8723au: hal: Remove braces for single statement blocks

Author: Shraddha Barke <shraddha.6596@gmail.com> The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The error was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8723au/hal/usb_halinit.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-)   …

Continue reading

ntfs: delete unnecessary checks before calling iput()

Author: SF Markus Elfring <elfring@users.sourceforge.net> iput() tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Cc: Julia Lawall Reviewed-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — fs/ntfs/super.c | 21 +++++++————– 1 …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.