X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fs390%2Fchar%2Fvmcp.c;h=d7083b33b0fe7ce5cae31b79db117807da91d267;hb=a114a9d69d1362546b9dda651028acb311ddb7af;hp=09e7d9bf438b0e18b1dc5d49acd9f540000dfb06;hpb=9c1be0c4712fe760d8969427ef91107e9c062d91;p=pandora-kernel.git diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c index 09e7d9bf438b..d7083b33b0fe 100644 --- a/drivers/s390/char/vmcp.c +++ b/drivers/s390/char/vmcp.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -41,13 +40,11 @@ static int vmcp_open(struct inode *inode, struct file *file) if (!session) return -ENOMEM; - lock_kernel(); session->bufsize = PAGE_SIZE; session->response = NULL; session->resp_size = 0; mutex_init(&session->mutex); file->private_data = session; - unlock_kernel(); return nonseekable_open(inode, file); }