• Radhey Shyam Pandey's avatar
    net: emaclite: Fix coding style · 945e659d
    Radhey Shyam Pandey authored
    Make coding style changes to fix checkpatch script warnings.
    There is no functional change. Fixes below check and warnings-
    
    CHECK: Blank lines aren't necessary after an open brace '{'
    CHECK: spinlock_t definition without comment
    CHECK: Please don't use multiple blank lines
    WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
    CHECK: braces {} should be used on all arms of this statement
    CHECK: Unbalanced braces around else statement
    CHECK: Alignment should match open parenthesis
    WARNING: Missing a blank line after declarations
    Signed-off-by: default avatarRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    945e659d
xilinx_emaclite.c 36.9 KB