staging: rts5208: Remove multiple assignment
Assign values to variables on their own lines instead of using multiple assignment Signed-off-by: Wayne Porter <wporter82@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
904af7d5b5
Коммит
f4bfffb959
|
@ -3022,10 +3022,13 @@ static int get_ms_information(struct scsi_cmnd *srb, struct rtsx_chip *chip)
|
||||||
return TRANSPORT_FAILED;
|
return TRANSPORT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dev_info_id == 0x15)
|
if (dev_info_id == 0x15) {
|
||||||
buf_len = data_len = 0x3A;
|
buf_len = 0x3A;
|
||||||
else
|
data_len = 0x3A;
|
||||||
buf_len = data_len = 0x6A;
|
} else {
|
||||||
|
buf_len = 0x6A;
|
||||||
|
data_len = 0x6A;
|
||||||
|
}
|
||||||
|
|
||||||
buf = kmalloc(buf_len, GFP_KERNEL);
|
buf = kmalloc(buf_len, GFP_KERNEL);
|
||||||
if (!buf) {
|
if (!buf) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче