Remove an unecessary return statement in a void function.
Remove an unecessary space between a function name and the parentheses.
Signed-off-by: Thomas Wood
---
Fixed the subject line containing the entire description.
Removed an attempt at scissor lines.
drivers/staging/lustre/lnet/lnet/api
Fixed Subject line containing the entire patch description.
>88<
Remove an unecessary return statement in a void function.
Remove an unecessary space between a function name and the parentheses.
Signed-off-by:
Signed-off-by: Thomas Wood
---
I hope this hasn't been duplicated...
drivers/staging/lustre/lnet/lnet/api-ni.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c
b/drivers/staging/lustre/lnet/lnet/api-ni.c
index 5e6e4e2..fa
Remove initialization of static value.
Invert the empty if statement's test to replace the else statement.
Remove parentheses from a return statement.
Fix some code indentation.
Signed-off-by: Thomas Wood
---
I'm pretty sure that the indentation was caused by a mistake by me earlier
Changes since v1:
* Made single patch into a patch set.
* Added better commit messages.
Is this better, or do I still have to split up my first patch?
>8--8<
Remove all style errors from ft1000_debug.c and some warnings.
Thomas W
Remove whitespace before a quoted newline.
Remove space between function name and it's parameter list.
Signed-off-by: Thomas Wood
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/ft1000/ft100
Add spaces around operators, after commas, and between (foo*).
Signed-off-by: Thomas Wood
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 48
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
b
Replace the spaces that were used as tabs with actual tabs.
Signed-off-by: Thomas Wood
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 974 +++
1 file changed, 487 insertions(+), 487 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
b
Remove unnecessary braces from single statement if blocks.
Signed-off-by: Thomas Wood
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
b/drivers
On 06/02/2014 03:30 AM, Dan Carpenter wrote:
> On Sun, Jun 01, 2014 at 07:26:18PM -0700, Thomas Wood wrote:
>> Don't use spaces as tabs, and fix other style errors and warnings.
>>
>> Signed-off-by: Thomas Wood
>
> Too much in one patch. Break it up into one ty
Don't use spaces as tabs, and fix other style errors and warnings.
Signed-off-by: Thomas Wood
---
I think that this is correctly indented now, but I didn't touch the double
parentheses on line 322 because I wasn't sure if they were necessary or not.
drivers/staging/ft
When using scripts/checkpatch.pl, there are errors about trailing whitespace.
Use scripts/cleanfile to remove these errors.
Signed-off-by: Thomas Wood
---
drivers/staging/goldfish/goldfish_nand.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging
12 matches
Mail list logo