Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2593669pxb; Tue, 13 Apr 2021 05:51:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAogKm/1y8HhlVw44kZyZJJ1WJwhrz/Ufb60UBwTt1Yp3E5phEiTThsyanV6vU6jYYYlz8 X-Received: by 2002:a17:902:db0d:b029:ea:fd0b:da04 with SMTP id m13-20020a170902db0db02900eafd0bda04mr10174852plx.37.1618318310857; Tue, 13 Apr 2021 05:51:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618318310; cv=none; d=google.com; s=arc-20160816; b=JONttqxtR2rIvUjAiLWCDrP5YtDSRTBR9OwGTEpYkNzDr6GhBcWfJ2Po8wfsLZAvYS MD2L+miT+xLwXGLfgxbw0QXTGCmqhQ4V/LUf+VBeW/WxxOSyRj26P1qwHIv7CHWmWgtt oeldSdlNpYVhjnGca229jxp0G3jQslh7og+lmK/gmd6mhV1zAheqQ+MhOvevdgxRqjDT MoIQoFHou7Fg7DDAhOPRV+ff+wxMzMtWQm71DuEHkHDY7m57w0jtpBXoBLL2t/RvgYDo qSe/StlQwljUvTSS3Xi8obR7kc0TQ6nzgAfqvIrp4MjZA291BccjdZwzoxnbEHM6Ko7H ToyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=/CbLnOfcW/QErJfVbQsTHeOdrB7EkB15wsUXnq4iIU4=; b=Uccidtqy817GD7pdY2+U6N51uBSKdCbbETl8+QL5k4BPAN/8qSR1GjHwNwDL5TDUtg pbrdJS2rKSMWmLrYPV8AdLN1XSTbZGNr9em3cEDk51QNzOPt0CljK2WFLAkcvnWXJViA AesB+yJWnQCJavjB7/Gh21VZPoOh4TfJ0v0y2L/n0W9Xd0dIcQKyjchKJBUIXJiZNIpo woEchT6n/OEgp5wJ1FvRsGSh9sJGNZ3lvECpOP/DihLztAPeN1sW/09GaT6reZuPT99y MlfElOf5knTAc07uzNXyOhnZj91BJpno+uVE2S7GVBSDYkhGuajW7sYsQXHB7wBAholI TeZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j4si2825243pjl.16.2021.04.13.05.51.38; Tue, 13 Apr 2021 05:51:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238322AbhDMHXu (ORCPT + 99 others); Tue, 13 Apr 2021 03:23:50 -0400 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:60024 "EHLO out4436.biz.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237646AbhDMHXr (ORCPT ); Tue, 13 Apr 2021 03:23:47 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0UVQBm1o_1618298586; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UVQBm1o_1618298586) by smtp.aliyun-inc.com(127.0.0.1); Tue, 13 Apr 2021 15:23:16 +0800 From: Jiapeng Chong To: maintainers@bluecherrydvr.com Cc: anton@corp.bluecherry.net, andrey_utkin@fastmail.com, ismael@iodev.co.uk, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] media: solo6x10: remove useless function Date: Tue, 13 Apr 2021 15:23:01 +0800 Message-Id: <1618298581-33566-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following clang warning: drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c:394:19: warning: unused function 'vop_interlaced' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c b/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c index 0abcad4..8c4fae7 100644 --- a/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c +++ b/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c @@ -391,11 +391,6 @@ static int solo_send_desc(struct solo_enc_dev *solo_enc, int skip, } /* Extract values from VOP header - VE_STATUSxx */ -static inline int vop_interlaced(const vop_header *vh) -{ - return (__le32_to_cpu((*vh)[0]) >> 30) & 1; -} - static inline u8 vop_channel(const vop_header *vh) { return (__le32_to_cpu((*vh)[0]) >> 24) & 0x1F; -- 1.8.3.1