public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcos Paulo de Souza <marcos.mage@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 2/2] drivers/staging/vt6656/iwctl.c: Remove unnecessary
Date: Thu, 17 Nov 2011 20:41:50 +0000	[thread overview]
Message-ID: <alpine.LNX.2.00.1111171840360.2090@darkstar.example.net> (raw)
In-Reply-To: <1320871137-2782-1-git-send-email-marcos.mage@gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2533 bytes --]

Hi to all,

There is any suggestion about patch?

Thanks for your time.

* Uma vida sem desafios é uma vida sem razão *
* A life without challanges is a non reason life *

On Wed, 9 Nov 2011, Marcos Paulo de Souza wrote:

> Removed the function iwctl_giwnwid, that was used once. Removed too a
> switch/case statement that was ambiguous.
>
> Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
> ---
> drivers/staging/vt6656/iwctl.c    |   11 -----------
> drivers/staging/vt6656/iwctl.h    |    5 -----
> drivers/staging/vt6656/main_usb.c |    9 +--------
> 3 files changed, 1 insertions(+), 24 deletions(-)
>
> diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c
> index 8c1ca49..a9110bf 100644
> --- a/drivers/staging/vt6656/iwctl.c
> +++ b/drivers/staging/vt6656/iwctl.c
> @@ -127,17 +127,6 @@ int iwctl_giwname(struct net_device *dev,
> 	return 0;
> }
>
> -int iwctl_giwnwid(struct net_device *dev,
> -             struct iw_request_info *info,
> -			 struct iw_param *wrq,
> -                   char *extra)
> -{
> - 	//wrq->value = 0x100;
> -	//wrq->disabled = 0;
> -	//wrq->fixed = 1;
> -	//return 0;
> -  return -EOPNOTSUPP;
> -}
> /*
>  * Wireless Handler : set scan
>  */
> diff --git a/drivers/staging/vt6656/iwctl.h b/drivers/staging/vt6656/iwctl.h
> index cc48954..10a240e 100644
> --- a/drivers/staging/vt6656/iwctl.h
> +++ b/drivers/staging/vt6656/iwctl.h
> @@ -77,11 +77,6 @@ int iwctl_giwname(struct net_device *dev,
> 			 char *wrq,
> 			 char *extra);
>
> -int iwctl_giwnwid(struct net_device *dev,
> -             struct iw_request_info *info,
> -			 struct iw_param *wrq,
> -                   char *extra) ;
> -
> int iwctl_giwsens(struct net_device *dev,
> 			 struct iw_request_info *info,
> 			 struct iw_param *wrq,
> diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
> index 27521b6..6f9930a 100644
> --- a/drivers/staging/vt6656/main_usb.c
> +++ b/drivers/staging/vt6656/main_usb.c
> @@ -1618,15 +1618,8 @@ static int  device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
> 		break;
>
> 	case SIOCSIWNWID:
> -        rc = -EOPNOTSUPP;
> -		break;
> -
> 	case SIOCGIWNWID:     //0x8b03  support
> -	#ifdef  WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
> -          rc = iwctl_giwnwid(dev, NULL, &(wrq->u.nwid), NULL);
> -	#else
> -        rc = -EOPNOTSUPP;
> -	#endif
> +		rc = -EOPNOTSUPP;
> 		break;
>
> 		// Set frequency/channel
> -- 
> 1.7.4.4
>
>

  reply	other threads:[~2011-11-17 20:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 20:38 [PATCH 2/2] drivers/staging/vt6656/iwctl.c: Remove unnecessary function Marcos Paulo de Souza
2011-11-17 20:41 ` Marcos Paulo de Souza [this message]
2011-11-17 21:22 ` [PATCH 2/2] drivers/staging/vt6656/iwctl.c: Remove unnecessary Dan Carpenter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.1111171840360.2090@darkstar.example.net \
    --to=marcos.mage@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox