The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at
https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.19
------>
commit 0c03843effa76448cf0e886009a47324fc850748
Author: Cyrill Gorcunov <[email protected]>
Date: Fri Jun 26 21:09:34 2015 +0400
ve/vt: Drop debug vars from console code
It cause unused variables warning.
Signed-off-by: Cyrill Gorcunov <[email protected]>
---
kernel/ve/console.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/ve/console.c b/kernel/ve/console.c
index 17201c7..922848a 100644
--- a/kernel/ve/console.c
+++ b/kernel/ve/console.c
@@ -127,14 +127,11 @@ static const struct tty_operations vz_tty_fops = {
static struct tty_struct *vz_vt_lookup(struct tty_driver *driver,
struct inode *inode, int idx)
{
- struct ve_struct *ve = driver->ve;
return driver->ttys[idx];
}
static int vz_vt_install(struct tty_driver *driver, struct tty_struct *tty)
{
- struct ve_struct *ve = driver->ve;
-
tty->port = kzalloc(sizeof(*tty->port), GFP_KERNEL);
if (!tty->port)
return -ENOMEM;
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel