diff options
| author | Huazhong Tan <[email protected]> | 2020-01-21 08:42:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-01-21 10:46:21 +0000 |
| commit | 60df7e91cc3efa141802dffad3a82b95c2ec479e (patch) | |
| tree | 2d10b3addf8e04c473b0abf2947475d275028d03 /net/unix/af_unix.c | |
| parent | net: hns3: remove redundant print on ENOMEM (diff) | |
| download | kernel-60df7e91cc3efa141802dffad3a82b95c2ec479e.tar.gz kernel-60df7e91cc3efa141802dffad3a82b95c2ec479e.zip | |
net: hns3: cleanup some coding style issue
This patch removes some unnecessary return value assignments,
some duplicated printing in the caller, refines the judgment
of 0 and uses le16_to_cpu to replace __le16_to_cpu.
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
