summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/c2port
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/c2port')
-rw-r--r--kernel/drivers/misc/c2port/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/misc/c2port/core.c b/kernel/drivers/misc/c2port/core.c
index 464419b36..cc8645b53 100644
--- a/kernel/drivers/misc/c2port/core.c
+++ b/kernel/drivers/misc/c2port/core.c
@@ -926,7 +926,7 @@ struct c2port_device *c2port_device_register(char *name,
c2dev->dev = device_create(c2port_class, NULL, 0, c2dev,
"c2port%d", c2dev->id);
- if (unlikely(IS_ERR(c2dev->dev))) {
+ if (IS_ERR(c2dev->dev)) {
ret = PTR_ERR(c2dev->dev);
goto error_device_create;
}