mirror of https://github.com/torvalds/linux.git
rpmsg: Remove unused method pointers *send_offchannel
After the previous patch, there are no implementers of the send_offchannel() and trysend_offchannel() methods. Remove them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Link: https://lore.kernel.org/r/20250429234600.301083-4-linux@treblig.org Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
This commit is contained in:
parent
68decaf24d
commit
3a70b945d3
|
|
@ -50,10 +50,8 @@ struct rpmsg_device_ops {
|
||||||
* @destroy_ept: see @rpmsg_destroy_ept(), required
|
* @destroy_ept: see @rpmsg_destroy_ept(), required
|
||||||
* @send: see @rpmsg_send(), required
|
* @send: see @rpmsg_send(), required
|
||||||
* @sendto: see @rpmsg_sendto(), optional
|
* @sendto: see @rpmsg_sendto(), optional
|
||||||
* @send_offchannel: see @rpmsg_send_offchannel(), optional
|
|
||||||
* @trysend: see @rpmsg_trysend(), required
|
* @trysend: see @rpmsg_trysend(), required
|
||||||
* @trysendto: see @rpmsg_trysendto(), optional
|
* @trysendto: see @rpmsg_trysendto(), optional
|
||||||
* @trysend_offchannel: see @rpmsg_trysend_offchannel(), optional
|
|
||||||
* @poll: see @rpmsg_poll(), optional
|
* @poll: see @rpmsg_poll(), optional
|
||||||
* @set_flow_control: see @rpmsg_set_flow_control(), optional
|
* @set_flow_control: see @rpmsg_set_flow_control(), optional
|
||||||
* @get_mtu: see @rpmsg_get_mtu(), optional
|
* @get_mtu: see @rpmsg_get_mtu(), optional
|
||||||
|
|
@ -67,13 +65,9 @@ struct rpmsg_endpoint_ops {
|
||||||
|
|
||||||
int (*send)(struct rpmsg_endpoint *ept, void *data, int len);
|
int (*send)(struct rpmsg_endpoint *ept, void *data, int len);
|
||||||
int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
|
int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
|
||||||
int (*send_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
|
|
||||||
void *data, int len);
|
|
||||||
|
|
||||||
int (*trysend)(struct rpmsg_endpoint *ept, void *data, int len);
|
int (*trysend)(struct rpmsg_endpoint *ept, void *data, int len);
|
||||||
int (*trysendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
|
int (*trysendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
|
||||||
int (*trysend_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
|
|
||||||
void *data, int len);
|
|
||||||
__poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp,
|
__poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp,
|
||||||
poll_table *wait);
|
poll_table *wait);
|
||||||
int (*set_flow_control)(struct rpmsg_endpoint *ept, bool pause, u32 dst);
|
int (*set_flow_control)(struct rpmsg_endpoint *ept, bool pause, u32 dst);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue