From patchwork Sat Apr 1 14:59:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 669703 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B43EC761AF for ; Sat, 1 Apr 2023 15:00:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbjDAPAm (ORCPT ); Sat, 1 Apr 2023 11:00:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbjDAPAl (ORCPT ); Sat, 1 Apr 2023 11:00:41 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69ACA1E710 for ; Sat, 1 Apr 2023 07:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680361185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iesvLwv6X8XuCGw70Cmh6LGcbEs+u4LGH9OWDaM1z3k=; b=f9HhmT8Wxcno8x/QVK2L1nop+ZZRqmXrCMhbblAbhdXmWY6jlESbNycmLP1CT+vTeYtCMs +8yOV61xpJ2YRnt6oyhqqwrm1D6rFo3Nv+mimyTd8fP2W/t+WvGHWuavCiTFYL2hs0ne3r 3pkMd01t29eHTF2OiKSQihlNm4sSL4o= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-604-ovuNWvonNqusOP65giNUjQ-1; Sat, 01 Apr 2023 10:59:44 -0400 X-MC-Unique: ovuNWvonNqusOP65giNUjQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8724A811E7C; Sat, 1 Apr 2023 14:59:43 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 048DA400F59; Sat, 1 Apr 2023 14:59:41 +0000 (UTC) From: Hans de Goede To: Mauro Carvalho Chehab , Sakari Ailus Cc: Hans de Goede , Kate Hsuan , Tsuchiya Yuto , Andy Shevchenko , Yury Luneff , Nable , andrey.i.trufanov@gmail.com, Fabio Aiuto , linux-media@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH 04/28] media: atomisp: gc0310: Remove some unused structure definitions Date: Sat, 1 Apr 2023 16:59:02 +0200 Message-Id: <20230401145926.596216-5-hdegoede@redhat.com> In-Reply-To: <20230401145926.596216-1-hdegoede@redhat.com> References: <20230401145926.596216-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Drop the unused struct gc0310_format and struct regval_list definitions. Signed-off-by: Hans de Goede --- drivers/staging/media/atomisp/i2c/gc0310.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/media/atomisp/i2c/gc0310.h b/drivers/staging/media/atomisp/i2c/gc0310.h index cae480ae6fba..6947bf53ff4f 100644 --- a/drivers/staging/media/atomisp/i2c/gc0310.h +++ b/drivers/staging/media/atomisp/i2c/gc0310.h @@ -107,11 +107,6 @@ #define GC0310_BIN_FACTOR_MAX 3 -struct regval_list { - u16 reg_num; - u8 value; -}; - struct gc0310_resolution { u8 *desc; const struct gc0310_reg *regs; @@ -126,12 +121,6 @@ struct gc0310_resolution { bool used; }; -struct gc0310_format { - u8 *desc; - u32 pixelformat; - struct gc0310_reg *regs; -}; - /* * gc0310 device structure. */