hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/s390/net/ctcm_main.c
....@@ -865,16 +865,9 @@
865865 /**
866866 * Start transmission of a packet.
867867 * Called from generic network device layer.
868
- *
869
- * skb Pointer to buffer containing the packet.
870
- * dev Pointer to interface struct.
871
- *
872
- * returns 0 if packet consumed, !0 if packet rejected.
873
- * Note: If we return !0, then the packet is free'd by
874
- * the generic network layer.
875868 */
876869 /* first merge version - leaving both functions separated */
877
-static int ctcm_tx(struct sk_buff *skb, struct net_device *dev)
870
+static netdev_tx_t ctcm_tx(struct sk_buff *skb, struct net_device *dev)
878871 {
879872 struct ctcm_priv *priv = dev->ml_priv;
880873
....@@ -917,7 +910,7 @@
917910 }
918911
919912 /* unmerged MPC variant of ctcm_tx */
920
-static int ctcmpc_tx(struct sk_buff *skb, struct net_device *dev)
913
+static netdev_tx_t ctcmpc_tx(struct sk_buff *skb, struct net_device *dev)
921914 {
922915 int len = 0;
923916 struct ctcm_priv *priv = dev->ml_priv;