summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>2014-10-05 01:26:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 10:29:07 +0800
commit7ba75289115b9059d261de297041f8b754899f22 (patch)
tree79c6a112f46548c0f71586593ed82b29ceb0d32f
parent9b0a6292df615a62269e6849a02332d85fd3b52a (diff)
downloadlinux-stable-7ba75289115b9059d261de297041f8b754899f22.tar.gz
linux-stable-7ba75289115b9059d261de297041f8b754899f22.tar.bz2
linux-stable-7ba75289115b9059d261de297041f8b754899f22.zip
staging: rts5208: Delete braces are not necessary
Fix checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rts5208/rtsx_scsi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rts5208/rtsx_scsi.c b/drivers/staging/rts5208/rtsx_scsi.c
index bbbf7968a0b6..11610826acf1 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);