[S390] cmm: get rid of CMM_PROC config option

All distros have this option switched on, so lets get rid of at least
one of the tons of config options that are available.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by Heiko Carstens and committed by Martin Schwidefsky cf9daf4a db705e83

-16
-7
arch/s390/Kconfig
··· 479 479 Everybody who wants to run Linux under VM should select this 480 480 option. 481 481 482 - config CMM_PROC 483 - bool "/proc interface to cooperative memory management" 484 - depends on CMM 485 - help 486 - Select this option to enable the /proc interface to the 487 - cooperative memory management. 488 - 489 482 config CMM_IUCV 490 483 bool "IUCV special message interface to cooperative memory management" 491 484 depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
-9
arch/s390/mm/cmm.c
··· 248 248 return str != cp; 249 249 } 250 250 251 - #ifdef CONFIG_CMM_PROC 252 - 253 251 static struct ctl_table cmm_table[]; 254 252 255 253 static int cmm_pages_handler(ctl_table *ctl, int write, void __user *buffer, ··· 354 356 }, 355 357 { } 356 358 }; 357 - #endif 358 359 359 360 #ifdef CONFIG_CMM_IUCV 360 361 #define SMSG_PREFIX "CMM" ··· 431 434 { 432 435 int rc = -ENOMEM; 433 436 434 - #ifdef CONFIG_CMM_PROC 435 437 cmm_sysctl_header = register_sysctl_table(cmm_dir_table); 436 438 if (!cmm_sysctl_header) 437 439 goto out_sysctl; 438 - #endif 439 440 #ifdef CONFIG_CMM_IUCV 440 441 rc = smsg_register_callback(SMSG_PREFIX, cmm_smsg_target); 441 442 if (rc < 0) ··· 460 465 smsg_unregister_callback(SMSG_PREFIX, cmm_smsg_target); 461 466 out_smsg: 462 467 #endif 463 - #ifdef CONFIG_CMM_PROC 464 468 unregister_sysctl_table(cmm_sysctl_header); 465 469 out_sysctl: 466 - #endif 467 470 del_timer_sync(&cmm_timer); 468 471 return rc; 469 472 } ··· 469 476 470 477 static void cmm_exit(void) 471 478 { 472 - #ifdef CONFIG_CMM_PROC 473 479 unregister_sysctl_table(cmm_sysctl_header); 474 - #endif 475 480 #ifdef CONFIG_CMM_IUCV 476 481 smsg_unregister_callback(SMSG_PREFIX, cmm_smsg_target); 477 482 #endif