staging/rts5208/rtsx_scsi.c: Remove unnecessary parentheses
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Wed, 5 Mar 2014 15:23:10 +0000 (17:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 23:23:56 +0000 (15:23 -0800)
Remove unnecessary parentheses from staging/rts5208/rtsx_scsi.c

Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_scsi.c

index 382e73a54f4d311a71cb46a652be57795a2fdb87..bbfa665c5c99c11622bf1d9fe85c4778a6da0bce 100644 (file)
@@ -2867,7 +2867,7 @@ static int get_ms_information(struct scsi_cmnd *srb, struct rtsx_chip *chip)
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }
-       if ((get_lun_card(chip, lun) != MS_CARD)) {
+       if (get_lun_card(chip, lun) != MS_CARD) {
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }
@@ -2983,7 +2983,7 @@ static int sd_extention_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip)
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }
-       if ((get_lun_card(chip, lun) != SD_CARD)) {
+       if (get_lun_card(chip, lun) != SD_CARD) {
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }
@@ -3046,7 +3046,7 @@ static int mg_report_key(struct scsi_cmnd *srb, struct rtsx_chip *chip)
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }
-       if ((get_lun_card(chip, lun) != MS_CARD)) {
+       if (get_lun_card(chip, lun) != MS_CARD) {
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }
@@ -3151,7 +3151,7 @@ static int mg_send_key(struct scsi_cmnd *srb, struct rtsx_chip *chip)
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_PROTECT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }
-       if ((get_lun_card(chip, lun) != MS_CARD)) {
+       if (get_lun_card(chip, lun) != MS_CARD) {
                set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT);
                TRACE_RET(chip, TRANSPORT_FAILED);
        }