Skip to content

Commit

Permalink
ALSA: xen: Remove superfluous fall through comments
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tiwai committed Jul 9, 2020
1 parent 4d6cd8f commit 401b3e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions sound/xen/xen_snd_front.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,8 @@ static void sndback_changed(struct xenbus_device *xb_dev,

switch (backend_state) {
case XenbusStateReconfiguring:
/* fall through */
case XenbusStateReconfigured:
/* fall through */
case XenbusStateInitialised:
/* fall through */
break;

case XenbusStateInitialising:
Expand Down Expand Up @@ -289,7 +286,6 @@ static void sndback_changed(struct xenbus_device *xb_dev,
break;

case XenbusStateUnknown:
/* fall through */
case XenbusStateClosed:
if (xb_dev->state == XenbusStateClosed)
break;
Expand Down
4 changes: 0 additions & 4 deletions sound/xen/xen_snd_front_evtchnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,9 @@ static irqreturn_t evtchnl_interrupt_req(int irq, void *dev_id)
continue;
switch (resp->operation) {
case XENSND_OP_OPEN:
/* fall through */
case XENSND_OP_CLOSE:
/* fall through */
case XENSND_OP_READ:
/* fall through */
case XENSND_OP_WRITE:
/* fall through */
case XENSND_OP_TRIGGER:
channel->u.req.resp_status = resp->status;
complete(&channel->u.req.completion);
Expand Down

0 comments on commit 401b3e6

Please sign in to comment.