mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
virtio: remove virtio_has_feture() in nuttx because openamp already implement
virtio_has_feture() change alreay merged into the OpenAMP community Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
@@ -47,9 +47,6 @@
|
||||
|
||||
/* Virtio helper functions */
|
||||
|
||||
#define virtio_has_feature(vdev, fbit) \
|
||||
(((vdev)->features & (1ULL << (fbit))) != 0)
|
||||
|
||||
#define virtio_read_config_member(vdev, structname, member, ptr) \
|
||||
virtio_read_config((vdev), offsetof(structname, member), \
|
||||
(ptr), sizeof(*(ptr)));
|
||||
|
||||
Reference in New Issue
Block a user