mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jacky Boen <aqiank@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Jacky Boen <aqiank@gmail.com>
Subject: [PATCH 06/11] Staging: drivers: rtl8188eu: fixed unnecessary else branch
Date: Sun,  1 May 2016 23:50:34 +0800	[thread overview]
Message-ID: <1462117839-6866-6-git-send-email-aqiank@gmail.com> (raw)
In-Reply-To: <1462117839-6866-1-git-send-email-aqiank@gmail.com>

Fixed coding style issue

Signed-off-by: Jacky Boen <aqiank@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 814ecec..c37ba49 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -749,10 +749,9 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
 			DBG_88E("%s: Download Firmware failed!!\n", __func__);
 			Adapter->bFWReady = false;
 			return status;
-		} else {
-			RT_TRACE(_module_hci_hal_init_c_, _drv_info_, ("Initializeadapt8192CSdio(): Download Firmware Success!!\n"));
-			Adapter->bFWReady = true;
 		}
+		RT_TRACE(_module_hci_hal_init_c_, _drv_info_, ("Initializeadapt8192CSdio(): Download Firmware Success!!\n"));
+		Adapter->bFWReady = true;
 	}
 	rtl8188e_InitializeFirmwareVars(Adapter);
 
-- 
2.7.4

  parent reply	other threads:[~2016-05-01 15:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-01 15:50 [PATCH 01/11] Staging: drivers: rtl8188eu: move constants to the right in comparisons Jacky Boen
2016-05-01 15:50 ` [PATCH 02/11] Staging: drivers: rtl8188eu: fixed typo Jacky Boen
2016-05-01 15:50 ` [PATCH 03/11] Staging: drivers: rtl8188eu: fixed block comments style Jacky Boen
2016-05-01 15:50 ` [PATCH 04/11] Staging: drivers: rtl8188eu: fixed newlines style Jacky Boen
2016-05-01 15:50 ` [PATCH 05/11] Staging: drivers: rtl8188eu: fixed brace style Jacky Boen
2016-05-01 15:50 ` Jacky Boen [this message]
2016-05-01 15:50 ` [PATCH 07/11] Staging: drivers: rtl8188eu: fixed extraneous indentation Jacky Boen
2016-05-01 15:50 ` [PATCH 08/11] Staging: drivers: rtl8188eu: fixed extraneous parentheses Jacky Boen
2016-05-01 15:50 ` [PATCH 09/11] Staging: drivers: rtl8188eu: fixed extraneous spaces Jacky Boen
2016-05-01 15:50 ` [PATCH 10/11] Staging: drivers: rtl8188eu: fixed if-NULL comparisons style Jacky Boen
2016-05-01 15:50 ` [PATCH 11/11] Staging: drivers: rtl8188eu: use sizeof(*ptr) instead of sizeof(struct) Jacky Boen

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=1462117839-6866-6-git-send-email-aqiank@gmail.com \
    --to=aqiank@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®