You could use CSS Descendent Selector
So, in your case:
a > img { text-decoration: none; }
However, the above rule will add the style to the image (that is the descendent) and not the parent, so it might not be what you're looking for. Unfortunately, there is no CSS rule that applies styling to the parent in case of a descendent.