[net-next,rfc,V2,2/8] macvlan: switch to use IS_ENABLED()
diff mbox series

Message ID 1369994005-5943-3-git-send-email-jasowang@redhat.com
State New, archived
Headers show
Series
  • Multiqueue API for macvtap
Related show

Commit Message

Jason Wang May 31, 2013, 9:53 a.m. UTC
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 include/linux/if_macvlan.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch
diff mbox series

diff --git a/include/linux/if_macvlan.h b/include/linux/if_macvlan.h
index 84dde1d..e47ad46 100644
--- a/include/linux/if_macvlan.h
+++ b/include/linux/if_macvlan.h
@@ -8,7 +8,7 @@ 
 #include <net/netlink.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 *);
 #else
 #include <linux/err.h>