Commit 4a2bc3bd authored by Vladimir A. Nazarenko's avatar Vladimir A. Nazarenko Committed by Greg Kroah-Hartman

staging: vt6655: delete SndEvt_ToAPI code

It's never enabled, so we can safely remove it.
Signed-off-by: default avatarVladimir A. Nazarenko <naszar@ya.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 586e8b68
...@@ -2911,14 +2911,8 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) ...@@ -2911,14 +2911,8 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
case IOCTL_CMD_SET: case IOCTL_CMD_SET:
#ifdef SndEvt_ToAPI if (!(pDevice->flags & DEVICE_FLAGS_OPENED) &&
if ((((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_EVT) && (((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_WPA)) {
!(pDevice->flags & DEVICE_FLAGS_OPENED))
#else
if (!(pDevice->flags & DEVICE_FLAGS_OPENED) &&
(((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_WPA))
#endif
{
rc = -EFAULT; rc = -EFAULT;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment