|
@@ -1821,7 +1821,6 @@ done:
|
|
static int ipath_open(struct inode *in, struct file *fp)
|
|
static int ipath_open(struct inode *in, struct file *fp)
|
|
{
|
|
{
|
|
/* The real work is performed later in ipath_assign_port() */
|
|
/* The real work is performed later in ipath_assign_port() */
|
|
- cycle_kernel_lock();
|
|
|
|
fp->private_data = kzalloc(sizeof(struct ipath_filedata), GFP_KERNEL);
|
|
fp->private_data = kzalloc(sizeof(struct ipath_filedata), GFP_KERNEL);
|
|
return fp->private_data ? 0 : -ENOMEM;
|
|
return fp->private_data ? 0 : -ENOMEM;
|
|
}
|
|
}
|