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

Configure Feed

Select the types of activity you want to include in your feed.

s390/sclp: Remove SCLP_OFB Kconfig option

Remove the SCLP_OFB Kconfig option and enable the guarded code
unconditionally. This guards only a few lines of code, so the impact is
very low while at the same time this reduces the large number of Kconfig
options.

Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>

authored by

Heiko Carstens and committed by
Alexander Gordeev
8587af9c 77aba6ac

-14
-8
drivers/s390/char/Kconfig
··· 85 85 transfer cache size from its default value 0.5MB to N bytes. If N 86 86 is zero, then no caching is performed. 87 87 88 - config SCLP_OFB 89 - def_bool n 90 - prompt "Support for Open-for-Business SCLP Event" 91 - depends on S390 92 - help 93 - This option enables the Open-for-Business interface to the s390 94 - Service Element. 95 - 96 88 config S390_UV_UAPI 97 89 def_tristate m 98 90 prompt "Ultravisor userspace API"
-6
drivers/s390/char/sclp_config.c
··· 80 80 81 81 static struct sclp_register sclp_conf_register = 82 82 { 83 - #ifdef CONFIG_SCLP_OFB 84 83 .send_mask = EVTYP_CONFMGMDATA_MASK, 85 - #endif 86 84 .receive_mask = EVTYP_CONFMGMDATA_MASK, 87 85 .receiver_fn = sclp_conf_receiver_fn, 88 86 }; 89 87 90 - #ifdef CONFIG_SCLP_OFB 91 88 static int sclp_ofb_send_req(char *ev_data, size_t len) 92 89 { 93 90 static DEFINE_MUTEX(send_mutex); ··· 140 143 }, 141 144 .write = sysfs_ofb_data_write, 142 145 }; 143 - #endif 144 146 145 147 static int __init sclp_ofb_setup(void) 146 148 { 147 - #ifdef CONFIG_SCLP_OFB 148 149 struct kset *ofb_kset; 149 150 int rc; 150 151 ··· 154 159 kset_unregister(ofb_kset); 155 160 return rc; 156 161 } 157 - #endif 158 162 return 0; 159 163 } 160 164