It cause unused variables warning.
Signed-off-by: Cyrill Gorcunov <[email protected]>
---
kernel/ve/console.c | 3 ---
1 file changed, 3 deletions(-)
Index: linux-pcs7.git/kernel/ve/console.c
===================================================================
--- linux-pcs7.git.orig/kernel/ve/console.c
+++ linux-pcs7.git/kernel/ve/console.c
@@ -127,14 +127,11 @@ static const struct tty_operations vz_tt
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