summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cpia.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/cpia.c')
-rw-r--r--linux/drivers/media/video/cpia.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cpia.c b/linux/drivers/media/video/cpia.c
index 9baa70fc9..826cf4464 100644
--- a/linux/drivers/media/video/cpia.c
+++ b/linux/drivers/media/video/cpia.c
@@ -1382,9 +1382,7 @@ static void proc_cpia_create(void)
{
cpia_proc_root = proc_mkdir("cpia", NULL);
- if (cpia_proc_root)
- cpia_proc_root->owner = THIS_MODULE;
- else
+ if (!cpia_proc_root)
LOG("Unable to initialise /proc/cpia\n");
}