Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2469374pxu; Mon, 14 Dec 2020 03:11:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFYScMgQJ4CgasGOoWPPUGrO9PsdGxiHGGGuvleUoOcW+isyYK+y1Fxn8MMzQQmEYiujgR X-Received: by 2002:aa7:cf85:: with SMTP id z5mr9884586edx.274.1607944295089; Mon, 14 Dec 2020 03:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607944295; cv=none; d=google.com; s=arc-20160816; b=flU435Rq1u8m6R0apBvcs+9Oci7al351jcgrn2/EdH4soE3GkfLYq9yL5qEI9qUST2 J+ck82I++dIpy40HvxFY3HRheA6/wkS4oTTWzsyxM2aNEh4QVN6cQkVT1bgbCK2cWYBE 1ciUU4PaiH1ueyn16Qn/Zf8Pq1OlYZ1LfYA0swdAWDjndYZEijTbJd3sNJNcgc8o+gxE R0gUxsjOJpnJFu6TYeJvKIrNOP/Ig6ur35466c+uIuYurho6ylpSN11ldkcBIrc05TQR YxkGOVcCLYs2VHz1gm6RxN1Ro51kSlzVkEsFRSEbTKNqlgHo8jBiSE048Q/If7+BpxEQ /0dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+Fa0emDjG8KUhpJTx3Kk4JyuLTYxFuw90VIOlyLryyc=; b=iCKFwH3oh5pxkMg+Pa6fsyCJzcDtbLrSQtoI6WKJhdoM6WvgWslp5//eyVFMS4ZlzD GHvBlFJvfhA7m4sQN7yiuAfk8K3wA47soKEDsPJ0FTYH5xud/K0ARxBsRaKEUDMioVcV iphpl99eQc/agDfsOWRr65rF9UEPDC5dqwBsyx0Za+mFcVT2XVPvQBW/m2z7PYlLoFHU v9VIuq5petHTH5XypFMWFGnaPNF/5/6Q7IynTHVPJABzNHSDTIhw5qSVTGIUqSEdfgh/ aezZyfCWOqgGvZFQpQQiKeaNEKq0rm7u3TkopL0Bk7HQxwnJPfMmE70xD7ktxO4NMwEn T5gA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si9118635eju.173.2020.12.14.03.11.11; Mon, 14 Dec 2020 03:11:35 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407285AbgLNLFw (ORCPT + 99 others); Mon, 14 Dec 2020 06:05:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407268AbgLNLEj (ORCPT ); Mon, 14 Dec 2020 06:04:39 -0500 Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [IPv6:2001:638:a000:4130:131:188:30:103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B3C3C061794; Mon, 14 Dec 2020 03:03:59 -0800 (PST) Received: from cipterm0.informatik.uni-erlangen.de (cipterm0.cip.cs.fau.de [IPv6:2001:638:a000:4130:131:188:30:90]) by faui03.informatik.uni-erlangen.de (Postfix) with ESMTP id 19366240B99; Mon, 14 Dec 2020 12:02:52 +0100 (CET) Received: by cipterm0.informatik.uni-erlangen.de (Postfix, from userid 67858) id 1727C3280146; Mon, 14 Dec 2020 12:02:52 +0100 (CET) From: Philipp Gerlesberger To: linux-kernel@vger.kernel.org Cc: Philipp Gerlesberger , ij72uhux@stud.informatik.uni-erlangen.de, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@i4.cs.fau.de, gregkh@linuxfoundation.org, sakari.ailus@linux.intel.com, mchehab@kernel.org Subject: [PATCH v2 06/12] media: atomisp: Remove defines Date: Mon, 14 Dec 2020 12:01:50 +0100 Message-Id: <20201214110156.6152-7-Philipp.Gerlesberger@fau.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201214110156.6152-1-Philipp.Gerlesberger@fau.de> References: <20201214110156.6152-1-Philipp.Gerlesberger@fau.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remov defines, they don't make sense. The programmer should know what things need to be static and what not. Also leave "inline" out and let the compiler decide Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- .../media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h b/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h index 9cd3d92b34c9..45b72e98bc9f 100644 --- a/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h +++ b/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h @@ -21,10 +21,7 @@ #ifndef __INLINE_RMGR__ #define STORAGE_CLASS_RMGR_H extern #define STORAGE_CLASS_RMGR_C -#else /* __INLINE_RMGR__ */ -#define STORAGE_CLASS_RMGR_H static inline -#define STORAGE_CLASS_RMGR_C static inline -#endif /* __INLINE_RMGR__ */ +#endif /** * @brief Initialize resource manager (host/common) -- 2.20.1