We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0307c3f commit eecda52Copy full SHA for eecda52
lib/rpmsg/rpmsg.c
@@ -217,9 +217,6 @@ struct rpmsg_endpoint *rpmsg_get_endpoint(struct rpmsg_device *rdev,
217
/* try to get by local address only */
218
if (addr != RPMSG_ADDR_ANY && ept->addr == addr)
219
return ept;
220
- /* try to find match on local end remote address */
221
- if (addr == ept->addr && dest_addr == ept->dest_addr)
222
- return ept;
223
/* else use name service and destination address */
224
if (name)
225
name_match = !strncmp(ept->name, name,
0 commit comments