Message ID | 20220513044143.1045728-2-tzungbi@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 42701e7c0cd2a715def2dafd22f11f25ca0f5024 |
Headers | show |
Series | platform/chrome: get rid of BUG_ON() | expand |
diff --git a/drivers/platform/chrome/cros_ec_proto.c b/drivers/platform/chrome/cros_ec_proto.c index ac1419881ff3..db1c8ba43171 100644 --- a/drivers/platform/chrome/cros_ec_proto.c +++ b/drivers/platform/chrome/cros_ec_proto.c @@ -60,7 +60,6 @@ static int prepare_packet(struct cros_ec_device *ec_dev, int i; u8 csum = 0; - BUG_ON(ec_dev->proto_version != EC_HOST_REQUEST_VERSION); BUG_ON(msg->outsize + sizeof(*request) > ec_dev->dout_size); out = ec_dev->dout;