It's fine to remove the final assignment, since obviously it's not used. It's unnecessary to use ofpbuf_at() earlier, though, since ofputil_decode_msg_type() already verified for us that the ofp_stats_reply is present.