Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2488808pxb; Tue, 13 Apr 2021 03:14:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypt4ig/SyZDgi0138pW7iyNLVHqAC0Q26UJCEdH0NtBxSlLtVxOUpsZmKUYpNsmS0pX4yP X-Received: by 2002:a17:906:37c9:: with SMTP id o9mr12882700ejc.285.1618308876012; Tue, 13 Apr 2021 03:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618308876; cv=none; d=google.com; s=arc-20160816; b=qJwZZwIeNfn+i6gOreiMxoDSMCkpF9iDLxC4v8b2KiTzcIWNDAAZQK/QmMhgffaQeV H+47JWJ8V47raKyNuaHi4m27tu4qd/vOU8cts6x/IW/piSUZ6uYZ8Rgjz7tm2uGx/8N5 e8fxRXgFwefspD7S9EO1+D8FTxw2feVsKIh72APXF28MaCLBcb+gngdUdI3dqdm5msjy Zo9GTv/hWP0PrESBqOAW14GYQyYezv0Yv+xpQ+Bf1AgZjoSJXMyaYW9ci8GPsEHYgL5N miOr0bAvy7S47ZEGQXWoZ3XiKRqdOWO3KlVkldxU9mZmb5MWXjvtwZ6BHZNjlSduy2b9 VL+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ebjj1nieSQ+u5+mdtM5MhsVOsi0UOZnWm3dZC8e3s2c=; b=z6mENOTTRR6A+22S2hX8XbQt0DnN9jHCKo6me7xytQ3AUL505G1L0ElemtzOXgGuKW WjQct5zz2kZpmUCLRblz3sM4lgCv9mfiZzMtmzDxUu8tISroYOKdgwunTCxfo4zfxhAn F0kj0hHBoKvfjBZHx//8qkS+iia5k/3EeC29kSS5Xg1Q2DJXNdOfCqqVG38qkfXkQBy9 vraUZB5VaLc0LMsHdTjdNrx4UlNgGU9TmZhK3DsotnZ2ZL0hrcFw/ahJiTuZYksUKW/d 3K0oqgC83E3LF2wWOI5EANM5LURPCPYwPyMsJO/Y4ssIa25RtUGBX1wAFGsKjs5lLc94 XxhA== 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=iodev.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm14si9057424ejc.502.2021.04.13.03.14.12; Tue, 13 Apr 2021 03:14:35 -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=iodev.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240874AbhDMKC3 (ORCPT + 99 others); Tue, 13 Apr 2021 06:02:29 -0400 Received: from iodev.co.uk ([46.30.189.100]:49664 "EHLO iodev.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbhDMKCZ (ORCPT ); Tue, 13 Apr 2021 06:02:25 -0400 Received: from pirotess (121.130.77.188.dynamic.jazztel.es [188.77.130.121]) by iodev.co.uk (Postfix) with ESMTPSA id D855529DF3; Tue, 13 Apr 2021 12:02:03 +0200 (CEST) Date: Tue, 13 Apr 2021 12:02:28 +0200 From: Ismael Luceno To: Jiapeng Chong Cc: maintainers@bluecherrydvr.com, anton@corp.bluecherry.net, andrey_utkin@fastmail.com, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: solo6x10: remove useless function Message-ID: <20210413100228.GC27272@pirotess> References: <1618298581-33566-1-git-send-email-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1618298581-33566-1-git-send-email-jiapeng.chong@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org NACK; before removing any of these functions the fields should be documented somewhere else, so that no information is lost. On 13/Apr/2021 15:23, Jiapeng Chong wrote: > 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 > -- Ismael Luceno http://iodev.co.uk/