From patchwork Sun May 31 09:40:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 209659 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2297CC433E3 for ; Sun, 31 May 2020 09:40:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EFA9B2074B for ; Sun, 31 May 2020 09:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590918051; bh=498vV3wFsLFm1truFcBU/hb44KJqgkDqO1OJZpZhwO0=; h=From:Cc:Subject:Date:To:List-ID:From; b=Q53+G7pgxfTn+NW0U/LmPYlwcMamBnXNHsf1TNqgwqPplyhmb2gbRRSD+//gI++M/ qeuorcsTRBkAEoBUz/4WTeoS1MMmOPKX8dh7EDLmgGpXROnrE6rRKhMiVT63RJm3ws Snr5ClQtZo2Wqq/vEIHn3czN32QxorfVsc7TYNCQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727866AbgEaJkq (ORCPT ); Sun, 31 May 2020 05:40:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:38154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbgEaJkp (ORCPT ); Sun, 31 May 2020 05:40:45 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6E38D2070B; Sun, 31 May 2020 09:40:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590918045; bh=498vV3wFsLFm1truFcBU/hb44KJqgkDqO1OJZpZhwO0=; h=From:To:Cc:Subject:Date:From; b=vTE/pctZJiP0BK3oSI5gmXRtWxiNpS3upSMpObABHMVnfF/RuKfg2k9zGk4Fsvxqv m1/ZiKP7vipEMdKioCMEr87vKGjyZWB9VeYc7Cr5j9d8Z1eq4dOj/qYWX9WOca75yU oJkjX+jSaSk83Mp1njR9q8yclR2CbRQvOIfvNwoY= Received: from mchehab by mail.kernel.org with local (Exim 4.93) (envelope-from ) id 1jfKSQ-003TMW-AP; Sun, 31 May 2020 11:40:42 +0200 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Sakari Ailus , Greg Kroah-Hartman , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kbuild test robot Subject: [PATCH 1/2] media: atomisp: get rid of a left-over wrapper function Date: Sun, 31 May 2020 11:40:40 +0200 Message-Id: <1e056919536d65daf06091345a62523f827fde7a.1590918032.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The abstraction layer for kvfree() was removed, but there is still a left-over code there. Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/sh_css.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/sh_css.c b/drivers/staging/media/atomisp/pci/sh_css.c index 9c754e29fa00..9f3e421cd717 100644 --- a/drivers/staging/media/atomisp/pci/sh_css.c +++ b/drivers/staging/media/atomisp/pci/sh_css.c @@ -1861,14 +1861,6 @@ ia_css_enable_isys_event_queue(bool enable) { return 0; } -void sh_css_free(void *ptr) -{ - if (is_vmalloc_addr(ptr)) - vfree(ptr); - else - kfree(ptr); -} - /* For Acceleration API: Flush FW (shared buffer pointer) arguments */ void sh_css_flush(struct ia_css_acc_fw *fw)