From nobody Sun Apr 12 04:36:00 2026 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 E8C99C00140 for ; Mon, 1 Aug 2022 02:57:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239428AbiHAC5x (ORCPT ); Sun, 31 Jul 2022 22:57:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238241AbiHAC5t (ORCPT ); Sun, 31 Jul 2022 22:57:49 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E297DDEFE for ; Sun, 31 Jul 2022 19:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1659322665; x=1690858665; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=VDLr2sFET7CoU2K76oqFi33BMQjtx9TBBb+e5PhJaXU=; b=d9XxoNRXkr2Kip3aDJv1HH3kvERwevUcxwxoSx1PPyXKSb1GZuwcb49i m/sfC4Xh3JaZcyAogHQHbWKxQ7n8yiUT68uXNJFI4QIQadgHM/uDc7uzU 9flSZleVxoWpXN5ts/ADvYCfr4ElSIWp1wqNYcZx4Y92cwkiBUEcD1lhD vTyAH+1PIemp/6+nO5XkV4GsjmS/RY0AWTvD6oZXT2AAuQYW8tnBXvWnE WuhwogflsnVqbSn7wega6QiDDIZP5hS8FEnP6OAM4vqozSnVZmuvuW5Pf GST/q7R6oloBTLo2Y4YnEW+3e83qfVfOGcIGhbeOYQlp4MEOhb860BwoP g==; X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="184522739" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 31 Jul 2022 19:57:44 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Sun, 31 Jul 2022 19:57:44 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Sun, 31 Jul 2022 19:57:42 -0700 From: Tudor Ambarus To: , , CC: , , , , , "Tudor Ambarus" Subject: [PATCH] mtd: rawnand: intel: Remove macro that is already defined in the core Date: Mon, 1 Aug 2022 05:57:40 +0300 Message-ID: <20220801025740.47191-1-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" NAND_DATA_IFACE_CHECK_ONLY is already defined in include/linux/mtd/rawnand.h. The intel driver includes , so remove the duplicate definition from the intel driver. Signed-off-by: Tudor Ambarus --- drivers/mtd/nand/raw/intel-nand-controller.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/nand/raw/intel-nand-controller.c b/drivers/mtd/nan= d/raw/intel-nand-controller.c index 7c1c80dae826..fbf6731420d6 100644 --- a/drivers/mtd/nand/raw/intel-nand-controller.c +++ b/drivers/mtd/nand/raw/intel-nand-controller.c @@ -99,8 +99,6 @@ =20 #define HSNAND_ECC_OFFSET 0x008 =20 -#define NAND_DATA_IFACE_CHECK_ONLY -1 - #define MAX_CS 2 =20 #define USEC_PER_SEC 1000000L --=20 2.25.1