diff options
author | Maxime Chevallier <[email protected]> | 2024-09-04 19:18:15 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-09-09 10:29:04 +0100 |
commit | 2b29ac68e786d8d16772bb92eee88ed7beda5d0d (patch) | |
tree | fe1bc78cb186bbd59539c817b4020cf83ee7473d /tools/perf/scripts/python | |
parent | 30ba6d2f3463ee296243cbcb628f7122c49db4a7 (diff) |
net: ethernet: fs_enet: cosmetic cleanups
Due to the age of the driver and the slow recent activity on it, the code
has taken some layers of dust. Clean the main driver file up so that it
passes checkpatch and also conforms with the net coding style.
Changes include :
- Re-ordering of the variable declarations for RCT
- Fixing the comment styles to either one-line comments, or net-style
comments
- Adding braces around single-statement 'else' clauses
- Aligning function/macro parameters on the opening parenthesis
- Simplifying checks for NULL pointers
- Splitting cascaded assignments into individual assignments
- Fixing some typos
- Fixing whitespace issues
This is a cosmetic change and doesn't introduce any change in behaviour.
Acked-by: Christophe Leroy <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Maxime Chevallier <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions