I’m unable to remove the code that I used to restrict access to the profile page for subscribers

function add_read_wpse_93843(){
  $role = get_role( 'subscriber' ); 
  $role->add_cap( 'read' );
} 
add_action( 'admin_init', 'add_read_wpse_93843' );

This code is work for me