Loading net/x25/af_x25.c +1 −1 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ static int x25_device_event(struct notifier_block *this, unsigned long event, return NOTIFY_DONE; if (dev->type == ARPHRD_X25 #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) || dev->type == ARPHRD_ETHER #endif ) { Loading net/x25/x25_dev.c +3 −3 Original line number Diff line number Diff line Loading @@ -161,7 +161,7 @@ void x25_establish_link(struct x25_neigh *nb) *ptr = X25_IFACE_CONNECT; break; #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) case ARPHRD_ETHER: return; #endif Loading @@ -180,7 +180,7 @@ void x25_terminate_link(struct x25_neigh *nb) struct sk_buff *skb; unsigned char *ptr; #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) if (nb->dev->type == ARPHRD_ETHER) return; #endif Loading Loading @@ -213,7 +213,7 @@ void x25_send_frame(struct sk_buff *skb, struct x25_neigh *nb) *dptr = X25_IFACE_DATA; break; #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) case ARPHRD_ETHER: kfree_skb(skb); return; Loading net/x25/x25_route.c +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ struct net_device *x25_dev_get(char *devname) if (dev && (!(dev->flags & IFF_UP) || (dev->type != ARPHRD_X25 #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) && dev->type != ARPHRD_ETHER #endif ))){ Loading Loading
net/x25/af_x25.c +1 −1 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ static int x25_device_event(struct notifier_block *this, unsigned long event, return NOTIFY_DONE; if (dev->type == ARPHRD_X25 #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) || dev->type == ARPHRD_ETHER #endif ) { Loading
net/x25/x25_dev.c +3 −3 Original line number Diff line number Diff line Loading @@ -161,7 +161,7 @@ void x25_establish_link(struct x25_neigh *nb) *ptr = X25_IFACE_CONNECT; break; #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) case ARPHRD_ETHER: return; #endif Loading @@ -180,7 +180,7 @@ void x25_terminate_link(struct x25_neigh *nb) struct sk_buff *skb; unsigned char *ptr; #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) if (nb->dev->type == ARPHRD_ETHER) return; #endif Loading Loading @@ -213,7 +213,7 @@ void x25_send_frame(struct sk_buff *skb, struct x25_neigh *nb) *dptr = X25_IFACE_DATA; break; #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) case ARPHRD_ETHER: kfree_skb(skb); return; Loading
net/x25/x25_route.c +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ struct net_device *x25_dev_get(char *devname) if (dev && (!(dev->flags & IFF_UP) || (dev->type != ARPHRD_X25 #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE) #if IS_ENABLED(CONFIG_LLC) && dev->type != ARPHRD_ETHER #endif ))){ Loading