public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Jakub Sitnicki <jsitnicki@gmail.com>,
	devel@driverdev.osuosl.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org,
	Larry Finger <Larry.Finger@lwfinger.net>
Subject: Re: [PATCH] staging: rtl8188eu: kill unused hal_data_8188e::fw_ractrl flag
Date: Mon, 22 Jun 2015 17:44:39 +0300	[thread overview]
Message-ID: <20150622144439.GZ28762@mwanda> (raw)
In-Reply-To: <20150618083018.GD11984@sudip-PC>

On Thu, Jun 18, 2015 at 02:00:18PM +0530, Sudip Mukherjee wrote:
> On Thu, Jun 18, 2015 at 08:31:59AM +0200, Jakub Sitnicki wrote:
> > --- a/drivers/staging/rtl8188eu/hal/odm.c
> > +++ b/drivers/staging/rtl8188eu/hal/odm.c
> > @@ -1170,13 +1170,10 @@ void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm)
> >  	}
> >  
> >  	for (i = 0; i < sta_cnt; i++) {
> > -		if (PWDB_rssi[i] != (0)) {
> > -			if (pHalData->fw_ractrl) {
> > -				/*  Report every sta's RSSI to FW */
> > -			} else {
> > -				ODM_RA_SetRSSI_8188E(
> > -				&(pHalData->odmpriv), (PWDB_rssi[i]&0xFF), (u8)((PWDB_rssi[i]>>16) & 0xFF));
> > -			}
> > +		if (PWDB_rssi[i] != 0) {
> > +			ODM_RA_SetRSSI_8188E(&pHalData->odmpriv,
> > +					     PWDB_rssi[i] & 0xFF,
> > +					     (PWDB_rssi[i] >> 16) & 0xFF);
> and you are also removing an extra unneeded () and a typecast.

These are minor related changes (on the same line).  It could have been
mentioned in the changelog but if not then it's not really worth
worrying about because it's so small.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

  parent reply	other threads:[~2015-06-22 14:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  6:31 [PATCH] staging: rtl8188eu: kill unused hal_data_8188e::fw_ractrl flag Jakub Sitnicki
2015-06-18  8:30 ` Sudip Mukherjee
2015-06-18 16:56   ` Jakub Sitnicki
2015-06-22 14:44   ` Dan Carpenter [this message]
     [not found] ` <87a8um924g.fsf@frog.home>
2015-07-23 18:36   ` Greg Kroah-Hartman
2015-07-24 15:11     ` [PATCH RESEND] " Jakub Sitnicki

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=20150622144439.GZ28762@mwanda \
    --to=dan.carpenter@oracle.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jsitnicki@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    /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