Skip to content

Commit 401b3e6

Browse files
committed
ALSA: xen: Remove superfluous fall through comments
The "fall through" comments found in switch-cases in ALSA xen driver are all superfluous. The kernel coding style allows the multiple cases in a row. Let's remove them. Reviewed-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 4d6cd8f commit 401b3e6

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

sound/xen/xen_snd_front.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,8 @@ static void sndback_changed(struct xenbus_device *xb_dev,
246246

247247
switch (backend_state) {
248248
case XenbusStateReconfiguring:
249-
/* fall through */
250249
case XenbusStateReconfigured:
251-
/* fall through */
252250
case XenbusStateInitialised:
253-
/* fall through */
254251
break;
255252

256253
case XenbusStateInitialising:
@@ -289,7 +286,6 @@ static void sndback_changed(struct xenbus_device *xb_dev,
289286
break;
290287

291288
case XenbusStateUnknown:
292-
/* fall through */
293289
case XenbusStateClosed:
294290
if (xb_dev->state == XenbusStateClosed)
295291
break;

sound/xen/xen_snd_front_evtchnl.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,9 @@ static irqreturn_t evtchnl_interrupt_req(int irq, void *dev_id)
4646
continue;
4747
switch (resp->operation) {
4848
case XENSND_OP_OPEN:
49-
/* fall through */
5049
case XENSND_OP_CLOSE:
51-
/* fall through */
5250
case XENSND_OP_READ:
53-
/* fall through */
5451
case XENSND_OP_WRITE:
55-
/* fall through */
5652
case XENSND_OP_TRIGGER:
5753
channel->u.req.resp_status = resp->status;
5854
complete(&channel->u.req.completion);

0 commit comments

Comments
 (0)