Commit 562be61
usb: core: Remove the useless struct usb_devmap which is just a bitmap
struct usb_devmap is really just a bitmap. No need to have a dedicated
structure for that.
Simplify code and use DECLARE_BITMAP() directly instead.
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/1d818575ff7a1e8317674aecf761ee23c89fdc84.1714815990.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 8bbe44c commit 562be61
3 files changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
869 | | - | |
| 869 | + | |
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
| 965 | + | |
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2207 | 2207 | | |
2208 | 2208 | | |
2209 | 2209 | | |
2210 | | - | |
2211 | | - | |
| 2210 | + | |
2212 | 2211 | | |
2213 | | - | |
| 2212 | + | |
2214 | 2213 | | |
2215 | 2214 | | |
2216 | | - | |
| 2215 | + | |
2217 | 2216 | | |
2218 | 2217 | | |
2219 | 2218 | | |
| |||
2222 | 2221 | | |
2223 | 2222 | | |
2224 | 2223 | | |
2225 | | - | |
| 2224 | + | |
2226 | 2225 | | |
2227 | 2226 | | |
2228 | 2227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | 443 | | |
449 | 444 | | |
450 | 445 | | |
| |||
472 | 467 | | |
473 | 468 | | |
474 | 469 | | |
475 | | - | |
| 470 | + | |
476 | 471 | | |
477 | 472 | | |
478 | 473 | | |
| |||
0 commit comments