diff options
author | Guo Zhengkui <guozhengkui@vivo.com> | 2022-04-12 06:20:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-13 14:20:58 +0300 |
commit | 5ee6ad1dcae8be7c101d1ffb2bbf4a01670e66cc (patch) | |
tree | 45125dffe14635b658b8abf940ca1a99a02d5e0b /Documentation | |
parent | 816cda9ae531b27c30356a673e8dc9f037cd90d1 (diff) | |
download | linux-5ee6ad1dcae8be7c101d1ffb2bbf4a01670e66cc.tar.xz |
ipv6: exthdrs: use swap() instead of open coding it
Address the following coccicheck warning:
net/ipv6/exthdrs.c:620:44-45: WARNING opportunity for swap()
by using swap() for the swapping of variable values and drop
the tmp (`addr`) variable that is not needed any more.
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions