From patchwork Fri Oct 6 10:07:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muhammad Usama Anjum X-Patchwork-Id: 730149 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EAC0E92FFB for ; Fri, 6 Oct 2023 10:08:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231648AbjJFKIT (ORCPT ); Fri, 6 Oct 2023 06:08:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231670AbjJFKIQ (ORCPT ); Fri, 6 Oct 2023 06:08:16 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66CF9FA; Fri, 6 Oct 2023 03:08:12 -0700 (PDT) Received: from localhost.localdomain (unknown [39.34.184.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madras.collabora.co.uk (Postfix) with ESMTPSA id C0AA96612212; Fri, 6 Oct 2023 11:08:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696586891; bh=d3OOu4X1+6LdLbtOeqh4zt3O5EoMiW32b7riykuvMiE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iJpMoqgARKxlrxvE+GxBvcWAtc7MbgXZS71nppsrKEBpUPlc0R5bdKyRHV/l501fg P83sEu77FZ15rDbNb/9cXn8isvhZiqqFHXaSIL9DK/VEOsCtDYdGzQAUK+CimYP/5J meytARV872FUCZVx2xt6bHcUdeiFiPogWMEuI763LFoTOJySY1oyy/GJvO7zMDejuC nBHAFTLJfPLSVKUstw039itQgjks6Y8tMU++eAQ0zZSLigkh3KVxIq0zbOhC/0fBuS VnBbT2XKN/QAQs9tojmzw9MFRbr81Z1YwlrCrgzGplOxrJhiOWa8Z2BZqanh0UBmnC 1JunAiyfke/kA== From: Muhammad Usama Anjum To: Shuah Khan , Muhammad Usama Anjum Cc: kernel@collabora.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] selftests: firmware: remove duplicate unneeded defines Date: Fri, 6 Oct 2023 15:07:38 +0500 Message-Id: <20231006100743.1631334-4-usama.anjum@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231006100743.1631334-1-usama.anjum@collabora.com> References: <20231006100743.1631334-1-usama.anjum@collabora.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org These duplicate defines should automatically be picked up from kernel headers. Signed-off-by: Muhammad Usama Anjum --- Changes since v1: - Make the patch explanation better --- tools/testing/selftests/firmware/fw_namespace.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/testing/selftests/firmware/fw_namespace.c b/tools/testing/selftests/firmware/fw_namespace.c index 4c6f0cd83c5b0..04757dc7e5467 100644 --- a/tools/testing/selftests/firmware/fw_namespace.c +++ b/tools/testing/selftests/firmware/fw_namespace.c @@ -17,10 +17,6 @@ #include #include -#ifndef CLONE_NEWNS -# define CLONE_NEWNS 0x00020000 -#endif - static char *fw_path = NULL; static void die(char *fmt, ...)