Commit 97b1185
dmaengine: idxd: Simplify WQ attribute visibility checks
The functions that check if WQ attributes are invisible are almost
duplicate. Define a helper to simplify these functions and future
WQ attribute visibility checks as well.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230712174436.3435088-1-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent cae701b commit 97b1185
1 file changed
Lines changed: 5 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
1297 | 1294 | | |
1298 | 1295 | | |
1299 | 1296 | | |
| |||
1303 | 1300 | | |
1304 | 1301 | | |
1305 | 1302 | | |
1306 | | - | |
1307 | | - | |
1308 | | - | |
1309 | | - | |
1310 | | - | |
1311 | | - | |
1312 | | - | |
1313 | 1303 | | |
1314 | 1304 | | |
1315 | 1305 | | |
1316 | 1306 | | |
1317 | 1307 | | |
1318 | 1308 | | |
1319 | 1309 | | |
1320 | | - | |
| 1310 | + | |
1321 | 1311 | | |
1322 | 1312 | | |
1323 | 1313 | | |
1324 | 1314 | | |
1325 | 1315 | | |
1326 | | - | |
| 1316 | + | |
1327 | 1317 | | |
1328 | 1318 | | |
1329 | 1319 | | |
| |||
0 commit comments