Commit 5e0afd8
committed
xen/tpmfront: use xenbus_setup_ring() and xenbus_teardown_ring()
Simplify tpmfront's ring creation and removal via xenbus_setup_ring()
and xenbus_teardown_ring(), which are provided exactly for the use
pattern as seen in this driver.
Signed-off-by: Juergen Gross <jgross@suse.com>1 parent 46e20d4 commit 5e0afd8
1 file changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | 256 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
| 257 | + | |
| 258 | + | |
265 | 259 | | |
266 | 260 | | |
267 | 261 | | |
268 | | - | |
269 | | - | |
270 | 262 | | |
271 | 263 | | |
272 | 264 | | |
| |||
331 | 323 | | |
332 | 324 | | |
333 | 325 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
| 326 | + | |
339 | 327 | | |
340 | 328 | | |
341 | 329 | | |
| |||
0 commit comments