[RHEL8,COMMIT] ve: Drop leftover in ve_configure()

Submitted by Konstantin Khorenko on June 10, 2020, 3:55 p.m.

Details

Message ID 202006101555.05AFtc2W023417@finist-co8.sw.ru
State New
Series "Series without cover letter"
Headers show

Commit Message

Konstantin Khorenko June 10, 2020, 3:55 p.m.
The commit is pushed to "branch-rh8-4.18.0-80.1.2.vz8.3.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-80.1.2.vz8.3.11
------>
commit a935461cdd8d26155dc23ce5f0d908d85f102fd4
Author: Konstantin Khorenko <khorenko@virtuozzo.com>
Date:   Wed Jun 10 10:46:06 2020 +0300

    ve: Drop leftover in ve_configure()
    
    This is a leftover of VE_CONFIGURE_OS_RELEASE ioctl,
    we don't support it now.
    
    Fixes: 91b395f548de ("ve: Add vecalls")
    
    Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
---
 kernel/ve/vecalls.c | 3 ---
 1 file changed, 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/kernel/ve/vecalls.c b/kernel/ve/vecalls.c
index 76f55d382a48..78773c21b8db 100644
--- a/kernel/ve/vecalls.c
+++ b/kernel/ve/vecalls.c
@@ -223,9 +223,6 @@  static int ve_configure(envid_t veid, unsigned int key,
 	if (!ve)
 		return -EINVAL;
 
-	switch(key) {
-	}
-
 	put_ve(ve);
 	return err;
 }