From: Surender Polsani <surenderpolsani@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Surender Polsani <surenderpolsani@gmail.com>
Subject: [PATCH] staging : rtl8188eu : remove unnecessary else
Date: Mon, 8 May 2017 14:13:00 +0530 [thread overview]
Message-ID: <1494232980-27334-1-git-send-email-surenderpolsani@gmail.com> (raw)
according to coding style else is not generally
useful after a break or return
Signed-off-by: Surender Polsani <surenderpolsani@gmail.com>
---
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
index d04b7fb..7420f55 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
@@ -212,8 +212,7 @@ u8 rtw_hal_antdiv_before_linked(struct adapter *Adapter)
rtw_antenna_select_cmd(Adapter, dm_swat_tbl->CurAntenna, false);
return true;
- } else {
+ }
dm_swat_tbl->SWAS_NoLink_State = 0;
return false;
- }
}
--
1.9.1
next reply other threads:[~2017-05-08 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 8:43 Surender Polsani [this message]
2017-05-08 17:23 ` Joe Perches
2017-05-09 8:01 ` 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=1494232980-27334-1-git-send-email-surenderpolsani@gmail.com \
--to=surenderpolsani@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®