I could never warm up to the 17-40mm on FF, and the 10-22 is wider on crop than the 17-40mm is on a crop.
It wasn't bad, but not magical either. Since I've only had the one copy, it could have been a copy that was not as good as it could be, but others often report the same thing.
Here is a image from Yellowstone with the 17-40mm L and my 5D Mark II. Its f/16, so maybe some diffraction effects.