No remove unused asset bundle variants?

How to remove unused asset bundle variants from drop down list?

Asset bundles:

Variants:

… of course after posting I find the solution.

Set the asset bundle to None and then back to the correct bundle and all unused variants will be cleared.