]> git.baikalelectronics.ru Git - kernel.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)
commit9dfb7c1cbbda0556ee8b45eab82d540ffe5db63a
tree3a71a8a47285f922ddb474ff30b7fa870443c888
parent153384bdedbe198c5f83c1cb8f718a0773e093aa
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