Re: [PATCH 3/3] staging: vt6655: delete SndEvt_ToAPI code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 09, 2014 at 03:38:55PM +1100, Vladimir A. Nazarenko wrote:
> It's never enabled, so we can safely remove it.
> 
> Signed-off-by: Vladimir A. Nazarenko <naszar@xxxxx>
> ---
>  drivers/staging/vt6655/device_main.c | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
> index de5378e..6728de5 100644
> --- a/drivers/staging/vt6655/device_main.c
> +++ b/drivers/staging/vt6655/device_main.c
> @@ -2916,14 +2916,8 @@ static int  device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
>  
>  	case IOCTL_CMD_SET:
>  
> -#ifdef SndEvt_ToAPI
> -		if ((((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_EVT) &&
> -		    !(pDevice->flags & DEVICE_FLAGS_OPENED))
> -#else
> -			if (!(pDevice->flags & DEVICE_FLAGS_OPENED) &&
> -			    (((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_WPA))
> -#endif
> -			{
> +		if (!(pDevice->flags & DEVICE_FLAGS_OPENED) &&
> +		    (((PSCmdRequest)rq)->wCmdCode != WLAN_CMD_SET_WPA))	{
>  				rc = -EFAULT;
>  				break;
>  			} else {

This didn't apply to my tree :(
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux