vc04_services: bcm2835-codec: Remove unused variable
authorPhil Elwell <phil@raspberrypi.com>
Tue, 4 Oct 2022 08:52:06 +0000 (09:52 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Tue, 4 Oct 2022 08:52:06 +0000 (09:52 +0100)
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c

index ac563d8..8e44880 100644 (file)
@@ -2461,8 +2461,6 @@ static int vidioc_decoder_cmd(struct file *file, void *priv,
 static int vidioc_try_encoder_cmd(struct file *file, void *priv,
                                  struct v4l2_encoder_cmd *cmd)
 {
-       struct bcm2835_codec_ctx *ctx = file2ctx(file);
-
        switch (cmd->cmd) {
        case V4L2_ENC_CMD_STOP:
                break;