diff options
-rw-r--r-- | cryptodev_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c index 7424746..d677d5b 100644 --- a/cryptodev_main.c +++ b/cryptodev_main.c @@ -576,12 +576,10 @@ cryptodev_release(struct inode *inode, struct file *filp) static int clonefd(struct file *filp) { - struct fdtable *fdt = files_fdtable(current->files); int ret; ret = get_unused_fd(); if (ret >= 0) { get_file(filp); - FD_SET(ret, fdt->open_fds); fd_install(ret, filp); } |