Commit 313b0d3d863453cb596ea42aed07f8e1a9b0a7e2
Committed by
John W. Linville
1 parent
829ef1f574
Exists in
master
and in
4 other branches
[PATCH] remove duplicated ioctl entries in compat_ioctl.c
This patch removes some duplicated wireless ioctl entries in the array 'struct ioctl_trans ioctl_start[]' of fs/compat_ioctl.c These entries are registered twice like: COMPATIBLE_IOCTL(SIOCGIWPRIV) and HANDLE_IOCTL(SIOCGIWPRIV, do_wireless_ioctl) Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff
fs/compat_ioctl.c
... | ... | @@ -3161,12 +3161,9 @@ |
3161 | 3161 | COMPATIBLE_IOCTL(SIOCGIWSENS) |
3162 | 3162 | COMPATIBLE_IOCTL(SIOCSIWRANGE) |
3163 | 3163 | COMPATIBLE_IOCTL(SIOCSIWPRIV) |
3164 | -COMPATIBLE_IOCTL(SIOCGIWPRIV) | |
3165 | 3164 | COMPATIBLE_IOCTL(SIOCSIWSTATS) |
3166 | -COMPATIBLE_IOCTL(SIOCGIWSTATS) | |
3167 | 3165 | COMPATIBLE_IOCTL(SIOCSIWAP) |
3168 | 3166 | COMPATIBLE_IOCTL(SIOCGIWAP) |
3169 | -COMPATIBLE_IOCTL(SIOCSIWSCAN) | |
3170 | 3167 | COMPATIBLE_IOCTL(SIOCSIWRATE) |
3171 | 3168 | COMPATIBLE_IOCTL(SIOCGIWRATE) |
3172 | 3169 | COMPATIBLE_IOCTL(SIOCSIWRTS) |