Remove some unnecessary parenthesis as recommended by checkpatch.pl. Signed-off-by: Sam Bobroff <sam.bobroff@xxxxxxxxxxx> --- drivers/staging/rts5139/rts51x_scsi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts5139/rts51x_scsi.c b/drivers/staging/rts5139/rts51x_scsi.c index 75282fe..60d42fa 100644 --- a/drivers/staging/rts5139/rts51x_scsi.c +++ b/drivers/staging/rts5139/rts51x_scsi.c @@ -1474,7 +1474,7 @@ static int get_ms_information(struct scsi_cmnd *srb, struct rts51x_chip *chip) rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); TRACE_RET(chip, TRANSPORT_FAILED); } - if ((rts51x_get_lun_card(chip, lun) != MS_CARD)) { + if (rts51x_get_lun_card(chip, lun) != MS_CARD) { rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT); TRACE_RET(chip, TRANSPORT_FAILED); } @@ -1582,7 +1582,7 @@ static int sd_extention_cmnd(struct scsi_cmnd *srb, struct rts51x_chip *chip) rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); TRACE_RET(chip, TRANSPORT_FAILED); } - if ((rts51x_get_lun_card(chip, lun) != SD_CARD)) { + if (rts51x_get_lun_card(chip, lun) != SD_CARD) { rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT); TRACE_RET(chip, TRANSPORT_FAILED); } @@ -1638,7 +1638,7 @@ static int mg_report_key(struct scsi_cmnd *srb, struct rts51x_chip *chip) rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); TRACE_RET(chip, TRANSPORT_FAILED); } - if ((rts51x_get_lun_card(chip, lun) != MS_CARD)) { + if (rts51x_get_lun_card(chip, lun) != MS_CARD) { rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT); TRACE_RET(chip, TRANSPORT_FAILED); } @@ -1729,7 +1729,7 @@ static int mg_send_key(struct scsi_cmnd *srb, struct rts51x_chip *chip) rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_WRITE_PROTECT); TRACE_RET(chip, TRANSPORT_FAILED); } - if ((rts51x_get_lun_card(chip, lun) != MS_CARD)) { + if (rts51x_get_lun_card(chip, lun) != MS_CARD) { rts51x_set_sense_type(chip, lun, SENSE_TYPE_MEDIA_LUN_NOT_SUPPORT); TRACE_RET(chip, TRANSPORT_FAILED); } -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel