Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: remove references to CONFIG_IRDA in network header files

Commit d64c2a76123f ("staging: irda: remove the irda network stack and
drivers") removes the config IRDA.

Remove the remaining references to this non-existing config in the network
header files.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20211229113620.19368-1-lukas.bulwahn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Lukas Bulwahn and committed by
Jakub Kicinski
d6c6d0bb 314fbde9

+2 -2
+1 -1
include/linux/atalk.h
··· 113 113 /* Inter module exports */ 114 114 115 115 /* Give a device find its atif control structure */ 116 - #if IS_ENABLED(CONFIG_IRDA) || IS_ENABLED(CONFIG_ATALK) 116 + #if IS_ENABLED(CONFIG_ATALK) 117 117 static inline struct atalk_iface *atalk_find_dev(struct net_device *dev) 118 118 { 119 119 return dev->atalk_ptr;
+1 -1
include/linux/netdevice.h
··· 2098 2098 #if IS_ENABLED(CONFIG_TIPC) 2099 2099 struct tipc_bearer __rcu *tipc_ptr; 2100 2100 #endif 2101 - #if IS_ENABLED(CONFIG_IRDA) || IS_ENABLED(CONFIG_ATALK) 2101 + #if IS_ENABLED(CONFIG_ATALK) 2102 2102 void *atalk_ptr; 2103 2103 #endif 2104 2104 struct in_device __rcu *ip_ptr;