diff options
author | Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> | 2014-10-05 01:26:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-20 10:29:07 +0800 |
commit | 7ba75289115b9059d261de297041f8b754899f22 (patch) | |
tree | 79c6a112f46548c0f71586593ed82b29ceb0d32f | |
parent | 9b0a6292df615a62269e6849a02332d85fd3b52a (diff) | |
download | linux-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.c | 3 |
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); |