Solicitor struck off for child pornography offences