German food retailer Edeka has divested its minority stake in discount chain Netto Stavenhagen.