This is my first patch, it's just a checkpatch run. I figured I would also clean up the code as there appears to be long-since-obsoleted comments and code in there.
A fairly trivial change, but worthy of inclusion IMO all the same!
Matthew Walster
From: Matthew Walster <redacted>
Remove an old commented out piece of code.
Remove an if(true) statement.
Remove a set of braces that weren't strictly necessary.
All found by running checkpatch.pl against the code.
Signed-off-by: Matthew Walster <redacted>
---
net/ethernet/eth.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
From: Matthew Walster <redacted>
The deleted comment was related to code I've just removed in the previous patch.
---
net/ethernet/eth.c | 8 --------
1 file changed, 8 deletions(-)
From: David Miller <davem@davemloft.net> Date: 2012-10-02 18:46:07
From: matthew@walster.org
Date: Tue, 2 Oct 2012 12:41:44 +0100
From: Matthew Walster <redacted>
Remove an old commented out piece of code.
Remove an if(true) statement.
Remove a set of braces that weren't strictly necessary.
All found by running checkpatch.pl against the code.
Signed-off-by: Matthew Walster <redacted>
That comment and that unconditional if() are documentation.
Don't be an automaton and blindly make changes based upon
checkpatch.pl output.