It can’t be deleted. If the firmware has never been released, you can delete it, but once you release it, it can’t be deleted, even if it’s not currently running on any device in your fleet.
The console should probably allow you to delete firmware that’s not used by any device in your product, but that’s not the way it works right now.