summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2019-10-31 14:23:18 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-31 22:03:23 +0300
commitd6ad7c5306251f6e7f82e46118b8c13c08cebf7d (patch)
tree6810892f6f8a9a4559efb0944e8c8dbbb91fd6dd /net/unix/af_unix.c
parent647522a5ef6401dcdb8ec417421e43fb21910167 (diff)
downloadlinux-d6ad7c5306251f6e7f82e46118b8c13c08cebf7d.tar.xz
net: hns3: cleanup some magic numbers
To make the code more readable, this patch replaces some magic numbers with macro or sizeof operation. Also uses macro lower_32_bits and upper_32_bits to get bits 0-31 and 32-63 of a number, instead of using type conversion and '>>' operation. No functional change. Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions