Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd5491af authored by Wayne Porter's avatar Wayne Porter Committed by Greg Kroah-Hartman
Browse files

staging: rts5208: rtsx.c: Multiple assignments



Fix multiple assignments found by checkpatch

Signed-off-by: default avatarWayne Porter <wporter82@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c8b07957
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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;
}