Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vt6655: delete SndEvt_ToAPI code

It's never enabled, so we can safely remove it.

Signed-off-by: Vladimir A. Nazarenko <naszar@ya.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Vladimir A. Nazarenko and committed by
Greg Kroah-Hartman
4a2bc3bd 586e8b68

+2 -8
+2 -8
drivers/staging/vt6655/device_main.c
··· 2911 2911 2912 2912 case IOCTL_CMD_SET: 2913 2913 2914 - #ifdef SndEvt_ToAPI 2915 - if ((((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_EVT) && 2916 - !(pDevice->flags & DEVICE_FLAGS_OPENED)) 2917 - #else 2918 - if (!(pDevice->flags & DEVICE_FLAGS_OPENED) && 2919 - (((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_WPA)) 2920 - #endif 2921 - { 2914 + if (!(pDevice->flags & DEVICE_FLAGS_OPENED) && 2915 + (((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_WPA)) { 2922 2916 rc = -EFAULT; 2923 2917 break; 2924 2918 }