diff options
author | Prashant Malani <pmalani@chromium.org> | 2019-09-30 12:38:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-01 21:28:47 -0400 |
commit | c01ebd6c46980654220f6d2b660308a074ee29df (patch) | |
tree | a7588f3ebc317020fff973953cb03542025d6029 /net/core/dev.c | |
parent | a786ab36ae6f486d59e05cd5570319508d23477e (diff) | |
download | linux-next-c01ebd6c46980654220f6d2b660308a074ee29df.tar.gz |
r8152: Use guard clause and fix comment typos
Use a guard clause in tx_bottom() to reduce the indentation of the
do-while loop.
Also, fix a couple of spelling and grammatical mistakes in the
r8152_csum_workaround() function comment.
Change-Id: I460befde150ad92248fd85b0f189ec2df2ab8431
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Acked-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions