mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
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>
This commit is contained in:
parent
9b0a6292df
commit
7ba7528911
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user