usbnet: Use fallthrough pseudo-keyword
Subsystems (5)
PATCH 1/1 usbnet: Use fallthrough pseudo-keyword
Replace // FALLTHROUGH comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/net/usb/usbnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/usbnet.c +1 -1
@@ -597,7 +597,7 @@ static void rx_complete (struct urb *urb)case -EPIPE : dev->net->stats.rx_errors++;usbnet_defer_kevent (dev,EVENT_RX_HALT ); -// FALLTHROUGH + fallthrough;/* software-driven interface shutdown */ case -ECONNRESET :/* async unlink */
Signature · 1 line
2.27.0
From: "Gustavo A. R. Silva" <[email protected]>
Date: Fri, 2 Oct 2020 17:53:15 -0500
Quoted 6 lines
Replace // FALLTHROUGH comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
Applied.