]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ipv6: ah6: use swap() to make code cleaner
authorYao Jing <yao.jing2@zte.com.cn>
Thu, 18 Nov 2021 06:10:18 +0000 (06:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Nov 2021 12:00:15 +0000 (12:00 +0000)
commit4cdf85ef2371e851d2a93602b7965fd5758e3ac4
tree3a71a8a47285f922ddb474ff30b7fa870443c888
parentdf6160deb3debe6f964c16349f9431157ff67dda
ipv6: ah6: use swap() to make code cleaner

Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yao Jing <yao.jing2@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ah6.c