]> 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)
commit188265fd1c268c6a7f59bb665335d64512fb02f5
tree3a71a8a47285f922ddb474ff30b7fa870443c888
parentb377d99ee50915aff0c89dda6b1a3c195b59876b
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