diff options
Diffstat (limited to 'net/x25/x25_route.c')
-rw-r--r-- | net/x25/x25_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/x25_route.c b/net/x25/x25_route.c index 97d77c532d8..cf636627005 100644 --- a/net/x25/x25_route.c +++ b/net/x25/x25_route.c | |||
@@ -134,7 +134,7 @@ struct net_device *x25_dev_get(char *devname) | |||
134 | 134 | ||
135 | if (dev && | 135 | if (dev && |
136 | (!(dev->flags & IFF_UP) || (dev->type != ARPHRD_X25 | 136 | (!(dev->flags & IFF_UP) || (dev->type != ARPHRD_X25 |
137 | #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) | 137 | #if IS_ENABLED(CONFIG_LLC) |
138 | && dev->type != ARPHRD_ETHER | 138 | && dev->type != ARPHRD_ETHER |
139 | #endif | 139 | #endif |
140 | ))){ | 140 | ))){ |