From: Wayne Porter Date: Tue, 11 Oct 2016 21:56:33 +0000 (+0000) Subject: staging: rts5208: Remove multiple assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4bfffb9594ea30934fdd4045754aed25cc2ad6f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: rts5208: Remove multiple assignment Assign values to variables on their own lines instead of using multiple assignment Signed-off-by: Wayne Porter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rts5208/rtsx_scsi.c b/drivers/staging/rts5208/rtsx_scsi.c index 9c6d257e41ec..b42c236274c7 100644 --- a/drivers/staging/rts5208/rtsx_scsi.c +++ b/drivers/staging/rts5208/rtsx_scsi.c @@ -3022,10 +3022,13 @@ static int get_ms_information(struct scsi_cmnd *srb, struct rtsx_chip *chip) return TRANSPORT_FAILED; } - if (dev_info_id == 0x15) - buf_len = data_len = 0x3A; - else - buf_len = data_len = 0x6A; + if (dev_info_id == 0x15) { + buf_len = 0x3A; + data_len = 0x3A; + } else { + buf_len = 0x6A; + data_len = 0x6A; + } buf = kmalloc(buf_len, GFP_KERNEL); if (!buf) {