summaryrefslogtreecommitdiffstats
path: root/cryptodev_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cryptodev_main.c')
-rw-r--r--cryptodev_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c
index 0a20888..9c484f5 100644
--- a/cryptodev_main.c
+++ b/cryptodev_main.c
@@ -150,10 +150,7 @@ cryptodev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (unlikely(!ncr))
BUG();
- switch (cmd) {
- default:
- return -EINVAL;
- }
+ return ncr_compat_ioctl(ncr, cmd, arg);
}
#endif /* CONFIG_COMPAT */