summaryrefslogtreecommitdiff
path: root/drivers/staging/rts5139/rts51x_fop.c
diff options
context:
space:
mode:
authorOleksij Rempel <bug-track@fisher-privat.net>2012-05-04 15:14:28 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 20:26:12 (GMT)
commitd66af05301c7859b676d95db915ebee4c8c01092 (patch)
tree7c400a152616136ee84f219408aa4eb56fd3f191 /drivers/staging/rts5139/rts51x_fop.c
parentd705b84c6e44d8d1fe0dafe34a20a12846ab07ed (diff)
downloadlinux-fsl-qoriq-d66af05301c7859b676d95db915ebee4c8c01092.tar.xz
staging: rts5139: remove disabled code in rts51x_fop.*
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5139/rts51x_fop.c')
-rw-r--r--drivers/staging/rts5139/rts51x_fop.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rts5139/rts51x_fop.c b/drivers/staging/rts5139/rts51x_fop.c
index 6eaebb6..ef893c8 100644
--- a/drivers/staging/rts5139/rts51x_fop.c
+++ b/drivers/staging/rts5139/rts51x_fop.c
@@ -234,12 +234,7 @@ ssize_t rts51x_write(struct file *filp, const char __user *buf, size_t count,
return 0;
}
-#if 0 /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) */
-int rts51x_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
- unsigned long arg)
-#else
long rts51x_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
-#endif
{
struct rts51x_chip *chip;
struct sd_direct_cmnd cmnd;