remove double if () (Coverity)
remove double if () (Coverity)

54604 Logically dead code

jemc/libmtp,reverendhomer/libmtp,jemc/libmtp,libmtp/libmtp,reverendhomer/libmtp,philipl/libmtp,reverendhomer/libmtp,reverendhomer/libmtp,philipl/libmtp,libmtp/libmtp,jemc/libmtp,philipl/libmtp,jemc/libmtp,libmtp/libmtp