Message ID | 20210311165559.60281-1-colin.king@canonical.com |
---|---|
State | New, archived |
Headers | show |
Series | cxl/mem: remove redundant initialization of variable rc | expand |
diff --git a/drivers/cxl/mem.c b/drivers/cxl/mem.c index 244cb7d89678..a2e22675e985 100644 --- a/drivers/cxl/mem.c +++ b/drivers/cxl/mem.c @@ -778,7 +778,7 @@ static long cxl_memdev_ioctl(struct file *file, unsigned int cmd, { struct cxl_memdev *cxlmd; struct inode *inode; - int rc = -ENOTTY; + int rc; inode = file_inode(file); cxlmd = container_of(inode->i_cdev, typeof(*cxlmd), cdev);