media: em28xx-video: Remove unneeded semicolons

There is no need to add a semicolon after a switch statement.

It also makes cocci a bit uneasy. It triggers the following warnings:

./usb/em28xx/em28xx-cards.c:4085:2-3: Unneeded semicolon
./usb/em28xx/em28xx-core.c:635:2-3: Unneeded semicolon

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
Ricardo Ribalda
2026-06-29 11:30:42 +00:00
committed by Hans Verkuil
parent 38d9078f8b
commit 3438f11372
2 changed files with 2 additions and 2 deletions

View File

@@ -4111,7 +4111,7 @@ static void em28xx_check_usb_descriptor(struct em28xx *dev,
dev->analog_ep_bulk = e->bEndpointAddress;
}
return;
};
}
}
/*

View File

@@ -632,7 +632,7 @@ void em2828X_decoder_vmux(struct em28xx *dev, unsigned int vin)
default:
dev_dbg(&dev->intf->dev, "EM2828X_SVIDEO\n");
break;
};
}
em28xx_write_reg(dev, 0x24, 0x00);
em28xx_write_reg(dev, 0x25, 0x02);