diff options
author | Lidza Louina <lidza.louina@gmail.com> | 2013-08-20 18:15:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-20 23:28:40 (GMT) |
commit | 62a86e50e73f60300f51e30a62ba04a76888b4da (patch) | |
tree | cb9d66af7f0ff622c77d176c321c99e16f64209e /drivers/staging/dgnc/dgnc_mgmt.h | |
parent | f1900e78cf599df78bbd7fe7762dd1a22d3c56a0 (diff) | |
download | linux-62a86e50e73f60300f51e30a62ba04a76888b4da.tar.xz |
staging: dgnc: removes ifdef HAVE_UNLOCKED_IOCTL conditionals
This patch removes the HAVE_UNLOCKED_IOCTL conditional
statements from driver.c, mgmt.c and mgmt.h. This was
used to support older kernels. It isn't needed now.
Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_mgmt.h')
-rw-r--r-- | drivers/staging/dgnc/dgnc_mgmt.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/dgnc/dgnc_mgmt.h b/drivers/staging/dgnc/dgnc_mgmt.h index a0d1338..567f687 100644 --- a/drivers/staging/dgnc/dgnc_mgmt.h +++ b/drivers/staging/dgnc/dgnc_mgmt.h @@ -26,12 +26,6 @@ int dgnc_mgmt_open(struct inode *inode, struct file *file); int dgnc_mgmt_close(struct inode *inode, struct file *file); - -#ifdef HAVE_UNLOCKED_IOCTL long dgnc_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg); -#else -int dgnc_mgmt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); -#endif - #endif |