swap: remove Cargo.toml data_model patch

Fixes compiler warning:

  warning: patch for the non root package will be ignored, specify patch
  at the workspace root:
  [...]/src/platform/crosvm/swap/Cargo.toml
  [...]/src/platform/crosvm/Cargo.toml

The top-level crosvm/Cargo.toml already specifies the patch, so we can
just remove it from swap/Cargo.toml

BUG=None
TEST=cargo build --features=swap
TEST=emerge-brya crosvm

Change-Id: Icdb9c7745478552ac01f07bdd5c799feff3f69a0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4062050
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Daniel Verkamp 2022-11-28 13:45:48 -08:00 committed by crosvm LUCI
parent e8334d74aa
commit d570328520

View file

@ -18,6 +18,3 @@ tempfile = "*"
thiserror = "*" thiserror = "*"
userfaultfd = "0.5.0" userfaultfd = "0.5.0"
vm_memory = { path = "../vm_memory"} vm_memory = { path = "../vm_memory"}
[patch.crates-io]
data_model = { path = "../common/data_model" }