Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59097ac9 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: ems_usb: fix coding style



This patch fixes the coding style issues introduced in commit:

    90cfde46 can: ems_usb: Fix possible tx overflow

Reported-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 8d3f2806
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -281,11 +281,9 @@ static void ems_usb_read_interrupt_callback(struct urb *urb)
	switch (urb->status) {
	case 0:
		dev->free_slots = dev->intr_in_buffer[1];
		if(dev->free_slots > CPC_TX_QUEUE_TRIGGER_HIGH){
			if (netif_queue_stopped(netdev)){
		if (dev->free_slots > CPC_TX_QUEUE_TRIGGER_HIGH &&
		    netif_queue_stopped(netdev))
			netif_wake_queue(netdev);
			}
		}
		break;

	case -ECONNRESET: /* unlink */