Commit df558d3
committed
firmware: arm_ffa: Simplify ffa_partitions_cleanup()
JIRA: https://issues.redhat.com/browse/RHEL-102691
commit ad9d9a1
Author: Cristian Marussi <cristian.marussi@arm.com>
Date: Mon, 8 Jan 2024 12:34:14 +0000
On cleanup iterate the XArrays with xa_for_each() and remove the existent
entries with xa_erase(), finally destroy the XArray itself.
Remove partition_count field from drv_info since no more used anywhwere.
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240108-ffa_fixes_6-8-v1-4-75bf7035bc50@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>1 parent b42733e commit df558d3
1 file changed
+6
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
| |||
1239 | 1238 | | |
1240 | 1239 | | |
1241 | 1240 | | |
1242 | | - | |
1243 | 1241 | | |
1244 | 1242 | | |
1245 | 1243 | | |
| |||
1249 | 1247 | | |
1250 | 1248 | | |
1251 | 1249 | | |
1252 | | - | |
1253 | 1250 | | |
1254 | 1251 | | |
1255 | 1252 | | |
1256 | 1253 | | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
1267 | | - | |
1268 | | - | |
| 1254 | + | |
| 1255 | + | |
1269 | 1256 | | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
1273 | 1261 | | |
1274 | | - | |
1275 | 1262 | | |
1276 | 1263 | | |
1277 | 1264 | | |
| |||
1547 | 1534 | | |
1548 | 1535 | | |
1549 | 1536 | | |
1550 | | - | |
1551 | 1537 | | |
1552 | 1538 | | |
1553 | 1539 | | |
| |||
0 commit comments