|
@@ -513,8 +513,7 @@ static int pcan_usb_fd_decode_canmsg(struct pcan_usb_fd_if *usb_if,
|
|
|
else
|
|
|
memcpy(cfd->data, rm->d, cfd->len);
|
|
|
|
|
|
- peak_usb_netif_rx(skb, &usb_if->time_ref,
|
|
|
- le32_to_cpu(rm->ts_low), le32_to_cpu(rm->ts_high));
|
|
|
+ peak_usb_netif_rx(skb, &usb_if->time_ref, le32_to_cpu(rm->ts_low));
|
|
|
|
|
|
netdev->stats.rx_packets++;
|
|
|
netdev->stats.rx_bytes += cfd->len;
|
|
@@ -574,8 +573,7 @@ static int pcan_usb_fd_decode_status(struct pcan_usb_fd_if *usb_if,
|
|
|
if (!skb)
|
|
|
return -ENOMEM;
|
|
|
|
|
|
- peak_usb_netif_rx(skb, &usb_if->time_ref,
|
|
|
- le32_to_cpu(sm->ts_low), le32_to_cpu(sm->ts_high));
|
|
|
+ peak_usb_netif_rx(skb, &usb_if->time_ref, le32_to_cpu(sm->ts_low));
|
|
|
|
|
|
netdev->stats.rx_packets++;
|
|
|
netdev->stats.rx_bytes += cf->can_dlc;
|
|
@@ -617,8 +615,7 @@ static int pcan_usb_fd_decode_overrun(struct pcan_usb_fd_if *usb_if,
|
|
|
cf->can_id |= CAN_ERR_CRTL;
|
|
|
cf->data[1] |= CAN_ERR_CRTL_RX_OVERFLOW;
|
|
|
|
|
|
- peak_usb_netif_rx(skb, &usb_if->time_ref,
|
|
|
- le32_to_cpu(ov->ts_low), le32_to_cpu(ov->ts_high));
|
|
|
+ peak_usb_netif_rx(skb, &usb_if->time_ref, le32_to_cpu(ov->ts_low));
|
|
|
|
|
|
netdev->stats.rx_over_errors++;
|
|
|
netdev->stats.rx_errors++;
|