Received: from mail-pj2-f13.google.com (mail-pj2-f13.google.com [74.125.227.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 901D83F7ABC for ; Tue, 15 Sep 2026 09:45:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789465526; cv=none; b=k4K+14tIg28h/B2mqW1r1LOLrymPoJPDO9w5I+2wQtSXx/ROT0e7xyQ9//uvV4du93GLkz88m0EPhIXtjhjFtqH6PwsewXuspPf4kxaN1ZYCGtehRAANa3HjmWNINaY73lc7QoifqGMhhyTp6ubXeU7hIjYha/iyuaYyOfhFMWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789465526; c=relaxed/simple; bh=/9yZ1NRyC8SOp6WN1l5tRIXNc4PBOsZqzAWsKo7rHk4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=G/1y+yu23E6hbXhEImPB7ZzWfDGVHZkteQIq7jG6/qM+Zwx+5D9dkWaoesu7bz0sNWoPQU8luZDnBesupoR8XLYZivLruUCRVG8GzIh8pjswfjwvkHLLARiLY9p5Wnvlg5JJsEzhlAl9pZ5hqQngIaV9e2QPVgXTVpV4+8i7MaE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eyZsMz95; arc=none smtp.client-ip=74.125.227.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eyZsMz95" Received: by mail-pj2-f13.google.com with SMTP id 98e67ed59e1d1-39b5b07ec78so51292a91.3 for ; Tue, 15 Sep 2026 02:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789465525; x=1790070325; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=MbEtTcAKC+NNh94lRz6UaNq1ouVNmAzr5+SKEZXpscI=; b=eyZsMz95kgFQDyv44UxzQ7FFLfyugzlA0gG3x4lKzcCBCk/rHmXA1fxMbXzYmVmpUL vr2TsfiTxObBJ/SvrQso/zWt674MwREBVVcCbDTW7w0QAWZBC0dZNinZAgIQg2mxDcTt LPkDqQmk6pTJVdYSxCe26BeslAdV06+w9uJ9gLHkaQWmE+s4ymySwsmS8s4jgXuzz82R ucqMwvTqdn0xhPlmqrlGIoPXu/HKS3JoQHSxUGQIqT1+benPB1PPDfjVqIyDA9Mpj84o Q8tO++adE7DYMYxHPCFrVwA2qxQ3kzykRlmT3bVB09j4uZFClyCGNm4FilFs7XEbdoUK atqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789465525; x=1790070325; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=MbEtTcAKC+NNh94lRz6UaNq1ouVNmAzr5+SKEZXpscI=; b=BA4X3FT27YcP/uLX//KHQttHXQq7sY1Fxr8M7mtrZA+iuAlgxKNMT+Rk0Tj7ogOJpW sZjFm6JCIofO+4k75y3Eq606npft1nT7SpL4JnwlXm81TjKqt6xZGmSQKMwrc6kVyG6c 5zOd7uu4fFlETLBxzNWqCWDO9Fn05UTgjJOZ9++70HaNn1nQNwJZhnK79evPxRpymrq4 KUEeFXbp8j1uwhT12RukhCwnp4/m10/1nk3YQw6dWMYTmrxbiEocHJJm+mzOcTof7cwo jL1JLNb0MXyXASRxdYHD0hvmiSSdYfA9VXfYI1MbN0xRlvmwOa3Kpyt3l/0QMMc23gw5 osAw== X-Gm-Message-State: AFuF++nL2n/TJ+Kb5oQDs4iJWICUy78K6hR/auucPL7WNpXAeHULEZm6 wjAWG7NibakFvb92gbSXXjhikQZbqgmYuKCV859HjB3o4v3vmwzk7s4d X-Gm-Gg: AYBFou3AUsHRcFSOEH3ZKT8itmvH/VKZIHGiUjzU17X7pZR5tG2S860CeP4vWKT2s34 vQkGLa4Gh/kXwtRkTb+JndXdw1hQRubUF2U99zYSioKq6LKtoaM0IfoBQhT8u/QOD467K4HNfVZ A0Jns53MMar2PGu1fgBkPTOjiSHCc/4Tj0AePyb7cVySFDpeKjpq8s5Lw/Rwz0v6GTxtBjD2PDu S7w3uLCfgOUgNNiLrj9Fwvi9qo/jILtIAw5SPRAQA6THxx0E0XGs9BNaXxcCroX+XgCJ1AcD1AS F3fHV69B/Uxjp1jOssfdoRcmJ+qYg+GFRZCWX7KCawS3aJI29LZEGwvx+jDOh5h85iKuB3DwpCO qOYDwQx02BHppFUoULdgeIOv0pDYPk0z9D/NAddEeR0oq2JlFf6NjVgZf5ThcikrwCfRTh+k43f JB3e1b87s+0k6NTeB6Q6VvCw1toNzOh6GnnMRhL9YV1d79eHgzqVfQ6xj2BeFZ9skRD+Trf0hpi 6LIlHI6wnFqSE/AJuCaXCR7Rc6Bla3xT69QcG0iXKO3TzKO X-Received: by 2002:a17:90b:3f0d:b0:399:1f8b:d255 with SMTP id 98e67ed59e1d1-39e10c8a755mr276527a91.5.1789465524864; Tue, 15 Sep 2026 02:45:24 -0700 (PDT) Received: from hyeonjun-ThinkPad-X13-Gen-1.tail710e10.ts.net ([124.197.199.8]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-39dfdd58af8sm4222111a91.12.2026.09.15.02.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2026 02:45:24 -0700 (PDT) From: Hyeonjun Hong To: Hans Verkuil , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Hyeonjun Hong Subject: [PATCH] media: vivid: Remove unused overlay format declarations Date: Tue, 15 Sep 2026 18:45:08 +0900 Message-Id: <20260915094508.1870931-1-hyeonjunhong330@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit vivid-vid-cap.h and vivid-vid-out.h still declare five overlay format ioctl handlers that are neither defined nor used. The four capture overlay declarations were left behind by commit ccaa9d50ca73 ("media: vivid: drop overlay support"), which removed the functions and their registration. vidioc_enum_fmt_vid_out_overlay() has never been implemented. It was declared when vivid was added in commit ef834f7836ec ("[media] vivid: add the video capture and output parts"), and struct v4l2_ioctl_ops has no such operation. Remove the unused declarations. Assisted-by: LLM Signed-off-by: Hyeonjun Hong --- drivers/media/test-drivers/vivid/vivid-vid-cap.h | 4 ---- drivers/media/test-drivers/vivid/vivid-vid-out.h | 1 - 2 files changed, 5 deletions(-) diff --git a/drivers/media/test-drivers/vivid/vivid-vid-cap.h b/drivers/media/test-drivers/vivid/vivid-vid-cap.h index d08a85927510..2fb792cc3a4d 100644 --- a/drivers/media/test-drivers/vivid/vivid-vid-cap.h +++ b/drivers/media/test-drivers/vivid/vivid-vid-cap.h @@ -32,10 +32,6 @@ int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); int vivid_vid_cap_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); int vivid_vid_cap_s_selection(struct file *file, void *priv, struct v4l2_selection *s); int vivid_vid_cap_g_pixelaspect(struct file *file, void *priv, int type, struct v4l2_fract *f); -int vidioc_enum_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_fmtdesc *f); -int vidioc_g_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f); -int vidioc_try_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f); -int vidioc_s_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f); int vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *inp); int vidioc_g_input(struct file *file, void *priv, unsigned *i); int vidioc_s_input(struct file *file, void *priv, unsigned i); diff --git a/drivers/media/test-drivers/vivid/vivid-vid-out.h b/drivers/media/test-drivers/vivid/vivid-vid-out.h index 1d03891a5de5..dd259206e25b 100644 --- a/drivers/media/test-drivers/vivid/vivid-vid-out.h +++ b/drivers/media/test-drivers/vivid/vivid-vid-out.h @@ -24,7 +24,6 @@ int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); int vivid_vid_out_s_selection(struct file *file, void *priv, struct v4l2_selection *s); int vivid_vid_out_g_pixelaspect(struct file *file, void *priv, int type, struct v4l2_fract *f); -int vidioc_enum_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_fmtdesc *f); int vidioc_g_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f); int vidioc_try_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f); int vidioc_s_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f); -- 2.34.1