diff options
author | Wayne Porter <wporter82@gmail.com> | 2016-10-11 21:56:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:27:05 +0200 |
commit | cd5491af0d6e2ad3f91597c591e6b60ba98b06f1 (patch) | |
tree | 7cfa88e5104031060fbe813c7af85f280ace0a59 | |
parent | c8b07957c4a35acc5df9c4dd342a0bdef19125d6 (diff) | |
download | linux-cd5491af0d6e2ad3f91597c591e6b60ba98b06f1.tar.bz2 |
staging: rts5208: rtsx.c: Multiple assignments
Fix multiple assignments found by checkpatch
Signed-off-by: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rts5208/rtsx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c index 5d10182ffb81..c88200be918a 100644 --- a/drivers/staging/rts5208/rtsx.c +++ b/drivers/staging/rts5208/rtsx.c @@ -107,8 +107,10 @@ static int slave_configure(struct scsi_device *sdev) * the actual value or the modified one, depending on where the * data comes from. */ - if (sdev->scsi_level < SCSI_2) - sdev->scsi_level = sdev->sdev_target->scsi_level = SCSI_2; + if (sdev->scsi_level < SCSI_2) { + sdev->scsi_level = SCSI_2; + sdev->sdev_target->scsi_level = SCSI_2; + } return 0; } |