asf: remove redundant casts