Browse Source

presence of RS485 ioctls has been unconditional since 2014

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 7 years ago
parent
commit
77021f8bab
1 changed files with 0 additions and 4 deletions
  1. 0 4
      fs/compat_ioctl.c

+ 0 - 4
fs/compat_ioctl.c

@@ -749,12 +749,8 @@ COMPATIBLE_IOCTL(TIOCOUTQ)
 COMPATIBLE_IOCTL(TIOCSPGRP)
 COMPATIBLE_IOCTL(TIOCSPGRP)
 COMPATIBLE_IOCTL(TIOCGPGRP)
 COMPATIBLE_IOCTL(TIOCGPGRP)
 COMPATIBLE_IOCTL(TIOCSERGETLSR)
 COMPATIBLE_IOCTL(TIOCSERGETLSR)
-#ifdef TIOCSRS485
 COMPATIBLE_IOCTL(TIOCSRS485)
 COMPATIBLE_IOCTL(TIOCSRS485)
-#endif
-#ifdef TIOCGRS485
 COMPATIBLE_IOCTL(TIOCGRS485)
 COMPATIBLE_IOCTL(TIOCGRS485)
-#endif
 #ifdef TCGETS2
 #ifdef TCGETS2
 COMPATIBLE_IOCTL(TCGETS2)
 COMPATIBLE_IOCTL(TCGETS2)
 COMPATIBLE_IOCTL(TCSETS2)
 COMPATIBLE_IOCTL(TCSETS2)