Commit ba7a475
rpmsg: glink: Consolidate TX_DATA and TX_DATA_CONT
Rather than duplicating most of the code for constructing the initial
TX_DATA and subsequent TX_DATA_CONT packets, roll them into a single
loop.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230418163018.785524-3-quic_bjorande@quicinc.com1 parent 7a68f9f commit ba7a475
1 file changed
Lines changed: 13 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | | - | |
| 1327 | + | |
1328 | 1328 | | |
1329 | 1329 | | |
1330 | 1330 | | |
| |||
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1384 | 1364 | | |
1385 | | - | |
1386 | 1365 | | |
1387 | | - | |
| 1366 | + | |
1388 | 1367 | | |
1389 | 1368 | | |
1390 | 1369 | | |
1391 | | - | |
| 1370 | + | |
1392 | 1371 | | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
| 1372 | + | |
1397 | 1373 | | |
| 1374 | + | |
1398 | 1375 | | |
1399 | 1376 | | |
1400 | | - | |
| 1377 | + | |
1401 | 1378 | | |
| 1379 | + | |
| 1380 | + | |
1402 | 1381 | | |
1403 | | - | |
| 1382 | + | |
| 1383 | + | |
1404 | 1384 | | |
1405 | 1385 | | |
1406 | 1386 | | |
| |||
0 commit comments