提交 1d2f41ed 编写于 作者: J Jason Wang 提交者: David S. Miller

macvlan: switch to use IS_ENABLED()

Acked-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NJason Wang <jasowang@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 89cee917
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <net/netlink.h> #include <net/netlink.h>
#include <linux/u64_stats_sync.h> #include <linux/u64_stats_sync.h>
#if defined(CONFIG_MACVTAP) || defined(CONFIG_MACVTAP_MODULE) #if IS_ENABLED(CONFIG_MACVTAP)
struct socket *macvtap_get_socket(struct file *); struct socket *macvtap_get_socket(struct file *);
#else #else
#include <linux/err.h> #include <linux/err.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册