mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Roocroft <mike.linux@btinternet.com>
To: gregkh@linuxfoundation.org
Cc: fabio.falzoi84@gmail.com, micky_ching@realsil.com.cn,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Mike Roocroft <mike.linux@btinternet.com>
Subject: [PATCH] Staging: rts5208: rtsx_scsi: Fixed a brace coding style issue
Date: Fri, 17 Oct 2014 00:30:51 +0100	[thread overview]
Message-ID: <1413502251-32223-1-git-send-email-mike.linux@btinternet.com> (raw)

Fixed a coding style issue.

Signed-off-by: Mike Roocroft <mike.linux@btinternet.com>
---
 drivers/staging/rts5208/rtsx_scsi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rts5208/rtsx_scsi.c b/drivers/staging/rts5208/rtsx_scsi.c
index bbbf796..1161082 100644
--- a/drivers/staging/rts5208/rtsx_scsi.c
+++ b/drivers/staging/rts5208/rtsx_scsi.c
@@ -584,9 +584,8 @@ static int start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
 	case MAKE_MEDIUM_READY:
 	case LOAD_MEDIUM:
-		if (check_card_ready(chip, lun)) {
+		if (check_card_ready(chip, lun))
 			return TRANSPORT_GOOD;
-		}
 		set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT);
 		TRACE_RET(chip, TRANSPORT_FAILED);
 
-- 
2.1.2


             reply	other threads:[~2014-10-16 23:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-16 23:30 Mike Roocroft [this message]
2014-10-29  9:25 ` Greg KH

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=1413502251-32223-1-git-send-email-mike.linux@btinternet.com \
    --to=mike.linux@btinternet.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=fabio.falzoi84@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=micky_ching@realsil.com.cn \
    /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®