Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4193274ybl; Mon, 13 Jan 2020 09:23:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyIBuNTK1+dlHIXsBQqI1S/d6s7Khz/MuwyXM9ufClW5w9+NZa/cpsGkSBrjgDV7mQkALAJ X-Received: by 2002:aca:aa81:: with SMTP id t123mr13030672oie.92.1578936209788; Mon, 13 Jan 2020 09:23:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578936209; cv=none; d=google.com; s=arc-20160816; b=DgOxT+Kvee6qTxuy5FpMkO+SjI9n3PvdxhrN1o6E27w5FuP0+oBEi+IjUakyjxoY0Z BqCbK24CCGMAT2S5fxwa4ZOhGdra9YyvDvvlhN1HGsT7mUjp6hWlhTRAWCyJ4AUL6kI4 uuJ6R/UIvgy+vptOsQGMqiM0wfru1OmaACfGT89cNmpTpOu22wme+Alu2zVrEZYQb1EY e26McjuJ8xGa2jD9JKI4wMD26LukdLydplqaX3Mw4Ubv3GC46HLjzrR0e40uR4Decit/ CzdHHe4o6MmWESWSf+Sio96osvSjjjJZ8RUEFzvJpfdhD/jJal2aIooyKqZ88VZcQ3q5 PW+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2XbsS5Di/1oyqIHTH7acFiFPgBGYMZyMX9O1bLq7OCE=; b=oZtUR88Hv8uaRi+1H/HAoen5z4iI7FAPCkyy46burks2UHZ8fsnfM1n43YWOHe4ofq 1T47X9gJnZ8RB88wd/QocmKpLuh+peX0A1YtMev2WVZRHE9XV4sVn7oaPb2NZDgFIYbF LVI/mw8Xc1W16w1ulyh69QIFDSpZ3DMTSWKBfqlWaasQ4/obOANsKXCl9qL6GsOKA94W Y8MZg3x5i3ydILV5F9t4CQslz2ViX0F8Gxgn4yI4WIhJWk+p93iuZ+otWXBtp8omBN7W KMdLP0M+zF79Bi0VYQErR8gPT5ifuKQrAf874U/suDKQkpKrVhm5CEMWy/sPP8alRlk3 Ongg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 94si7197134ott.8.2020.01.13.09.23.17; Mon, 13 Jan 2020 09:23:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728731AbgAMRVR (ORCPT + 99 others); Mon, 13 Jan 2020 12:21:17 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:39865 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727331AbgAMRVR (ORCPT ); Mon, 13 Jan 2020 12:21:17 -0500 X-Originating-IP: 84.44.14.226 Received: from nexussix.ar.arcelik (unknown [84.44.14.226]) (Authenticated sender: cengiz@kernel.wtf) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 75805FF802; Mon, 13 Jan 2020 17:21:13 +0000 (UTC) From: Cengiz Can To: "Lad, Prabhakar" , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Cengiz Can Subject: [PATCH] media: davinci: remove self assignment in vpfe Date: Mon, 13 Jan 2020 20:20:39 +0300 Message-Id: <20200113172038.99689-1-cengiz@kernel.wtf> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There's a self assignment which has no effect. Removed self assignment. Signed-off-by: Cengiz Can --- drivers/media/platform/davinci/vpfe_capture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/davinci/vpfe_capture.c b/drivers/media/platform/davinci/vpfe_capture.c index 916ed743d716..089648665cdf 100644 --- a/drivers/media/platform/davinci/vpfe_capture.c +++ b/drivers/media/platform/davinci/vpfe_capture.c @@ -879,7 +879,6 @@ static int vpfe_enum_fmt_vid_cap(struct file *file, void *priv, /* Fill in the information about format */ pix_fmt = vpfe_lookup_pix_format(pix); if (pix_fmt) { - fmt->pixelformat = fmt->pixelformat; return 0; } return -EINVAL; -- 2.24.1