Skip to content

Commit 3a70b94

Browse files
Dr. David Alan Gilbertmathieupoirier
authored andcommitted
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 <[email protected]> Acked-by: Arnaud Pouliquen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent 68decaf commit 3a70b94

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/rpmsg/rpmsg_internal.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ struct rpmsg_device_ops {
5050
* @destroy_ept: see @rpmsg_destroy_ept(), required
5151
* @send: see @rpmsg_send(), required
5252
* @sendto: see @rpmsg_sendto(), optional
53-
* @send_offchannel: see @rpmsg_send_offchannel(), optional
5453
* @trysend: see @rpmsg_trysend(), required
5554
* @trysendto: see @rpmsg_trysendto(), optional
56-
* @trysend_offchannel: see @rpmsg_trysend_offchannel(), optional
5755
* @poll: see @rpmsg_poll(), optional
5856
* @set_flow_control: see @rpmsg_set_flow_control(), optional
5957
* @get_mtu: see @rpmsg_get_mtu(), optional
@@ -67,13 +65,9 @@ struct rpmsg_endpoint_ops {
6765

6866
int (*send)(struct rpmsg_endpoint *ept, void *data, int len);
6967
int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
70-
int (*send_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
71-
void *data, int len);
7268

7369
int (*trysend)(struct rpmsg_endpoint *ept, void *data, int len);
7470
int (*trysendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
75-
int (*trysend_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
76-
void *data, int len);
7771
__poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp,
7872
poll_table *wait);
7973
int (*set_flow_control)(struct rpmsg_endpoint *ept, bool pause, u32 dst);

0 commit comments

Comments
 (0)