diff options
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_file_ops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c index 40dbe54056c7..73933a41ce84 100644 --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c | |||
@@ -1821,7 +1821,6 @@ done: | |||
1821 | static int ipath_open(struct inode *in, struct file *fp) | 1821 | static int ipath_open(struct inode *in, struct file *fp) |
1822 | { | 1822 | { |
1823 | /* The real work is performed later in ipath_assign_port() */ | 1823 | /* The real work is performed later in ipath_assign_port() */ |
1824 | cycle_kernel_lock(); | ||
1825 | fp->private_data = kzalloc(sizeof(struct ipath_filedata), GFP_KERNEL); | 1824 | fp->private_data = kzalloc(sizeof(struct ipath_filedata), GFP_KERNEL); |
1826 | return fp->private_data ? 0 : -ENOMEM; | 1825 | return fp->private_data ? 0 : -ENOMEM; |
1827 | } | 1826 | } |