From patchwork Sun Mar 24 09:29:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: coolrrsh@gmail.com X-Patchwork-Id: 13600787 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCC77C47DD9 for ; Sun, 24 Mar 2024 09:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qE/GPqg/ndlAbi0RybhVdqaSVjohCKaU7A3utrnDqbk=; b=ENA+jgZinZc+gM DohfoUeS61KBvLq1ji5YAIl0KCyS9//ELI6r7uctRWFQ9yW+wlzLFrQsxcZC4NnkAdUo8EV4fCQo3 nHUzTykWfrHlG4XhlhhsA1MzcqzvYs8PuNWs5WAskr0NNK8eLfbzASCXOkz/7OZGadZBBVjbgh6f+ sEVjWNowGZH1+qaj+nAHnAjD8GFFljCPrvkkEF3ZUCEaAa4ThRsARapIDd9qzN9SdJr83rWc+BfQJ XMg/DMFuhUiaOMbwFtoKcqX46Ihb05gzJR+irgynOB6a8CCaM3RKH+ULoyydn57DFvbZuATOXTChn RdQ5WpGNbG9LJLv+tuag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1roKAU-0000000CFeR-2ob0; Sun, 24 Mar 2024 09:29:30 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1roKAR-0000000CFdx-1khp for linux-arm-kernel@lists.infradead.org; Sun, 24 Mar 2024 09:29:29 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1dfff641d10so22981675ad.2 for ; Sun, 24 Mar 2024 02:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711272565; x=1711877365; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=o611cLqDFm70Z0Jt+IMAjJ8j+5plaV1gN+jC5Ar2By4=; b=QK82etm/Cvx8AgqYc+csezgMHhBmVWItBGZQLNfG2ft8JLAIgV06G2Y4ZzK+4RGacP HAIJSjHJ/BPCprG3TltmPkFOY1T03Tzo3carrPpGWc6zXIxe/2wFM9URAFECYo2zwsBH KeK+e5619Vx+z09E5vO1f/QNXf5MHhd+RhqP/0HxlyM9qvjY8AUGubmFlmaKijd5za5a DfBMGmhqpMppkeT7TJuQV2QtOKA/+CRiWPXuQwFGImhyXm2mDE23YKHXseHMJI+rxye5 oyZZgdtC1x+oixfVQTlxB0i9CwVqDXtlzKrJO0TC9S/oAjIyKAdU42mCYDI9mFwH6nzI 5x6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711272565; x=1711877365; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o611cLqDFm70Z0Jt+IMAjJ8j+5plaV1gN+jC5Ar2By4=; b=qLLYsB9x7+exs12UvK4EYBU8F3Ym31JE9Vtbm3fqBrqvqlHyDsD2EGUPw8hjM4i3HO F+z5N3U6ToaLRkdhNQUcYENao0kKX54ErJyelIKL0IyRaqUr/pA1VktuPdw4PpVZ6aIY WZzkW44B3rvXV/f5y7z9Q/RTOyrkpmbafz901QmK5i8+ebVWh0hEN7bft9wFxrtQV1ni zwstDMKbp64VR/0lLoczsIa0dOY6OBh1wYvrGS7w+BPVdMTGR7X75xLePy1PWbtxVfnM RQ2hGbHYsnnkJHejELA166krPGQ1R6u+U0rvc+RPQTGN0qBdFEBEENKzSsHONARTQmjz GUoA== X-Forwarded-Encrypted: i=1; AJvYcCUoaxAPCAnKVWUMrAbaVRNWlI+ubgHuLjsX6mPSA84wFGy1qFAuYB9VDy1P8UnEDRIieMqnxiDNgd2j/AMcaHwEguRMVV1hucvbzZSGADF85H1kDTs= X-Gm-Message-State: AOJu0Yyh7Q9fLSdzNaB81ufqIoFR//+roLGDVeGnbLtSooT9vc2svRjI qVuY5iCuvGUDTD+3l2DyUwlCXcTJ77YIbp/oMjAen/WmvMXOy0ruFCsRtuBgXbUEjw== X-Google-Smtp-Source: AGHT+IFvawNc97ardr5RtDisvgJA38GFboOggdtFCS3O754mL/vF+2DKsMyOKtUSOxQENHyFOa9F6Q== X-Received: by 2002:a17:902:e542:b0:1e0:b5d4:9fcb with SMTP id n2-20020a170902e54200b001e0b5d49fcbmr1110472plf.34.1711272564702; Sun, 24 Mar 2024 02:29:24 -0700 (PDT) Received: from localhost.localdomain ([2409:40c2:1004:e7c1:d108:f4f6:f7c6:2fde]) by smtp.gmail.com with ESMTPSA id y12-20020a170902ed4c00b001e0a28f61d0sm2717347plb.70.2024.03.24.02.29.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 02:29:24 -0700 (PDT) From: coolrrsh@gmail.com To: slongerbeam@gmail.com, p.zabel@pengutronix.de, mchehab@kernel.org, gregkh@linuxfoundation.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linux-kernel-mentees@lists.linuxfoundation.org, Rajeshwar R Shinde Subject: [PATCH v1] staging: media: remove duplicates Date: Sun, 24 Mar 2024 14:59:17 +0530 Message-Id: <20240324092917.19177-1-coolrrsh@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240324_022927_487395_596BFE75 X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rajeshwar R Shinde In Kconfig, the kernel configuration VIDEO_DEV is defined twice. To prevent doing repeated checks, the redundant code was replaced. Signed-off-by: Rajeshwar R Shinde --- drivers/staging/media/imx/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/imx/Kconfig b/drivers/staging/media/imx/Kconfig index 21fd79515042..772f49b1fe52 100644 --- a/drivers/staging/media/imx/Kconfig +++ b/drivers/staging/media/imx/Kconfig @@ -4,7 +4,6 @@ config VIDEO_IMX_MEDIA depends on ARCH_MXC || COMPILE_TEST depends on HAS_DMA depends on VIDEO_DEV - depends on VIDEO_DEV select MEDIA_CONTROLLER select V4L2_FWNODE select V4L2_MEM2MEM_DEV