Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3402778ybx; Sun, 3 Nov 2019 18:09:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzQhh41+Z3eBjCX1WqA6YAulTZmrdtqzBzZ2nuBVuTlrGeSbsCUtDHIIGnr9fiWYL0JEUon X-Received: by 2002:a50:c30d:: with SMTP id a13mr23509253edb.177.1572833357491; Sun, 03 Nov 2019 18:09:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572833357; cv=none; d=google.com; s=arc-20160816; b=cPDMrpJ+m6Bat34pq8l7kB4/7jiWdopSGgtcR8IBZnRWixx16jA8y5tmbI+tQgqONm Iw+QN8aBVALKRgcFK4OW+BUdUvokVKTnHVVl0mhMYmIBqCrWkoOSqjgL4s5PNXaXAkvo 2maTza+iZP6TUMev0ccWnp0VWuvY2aCLx/hUHcNPWwS+JPegn8NWLqCM3fLudvp3UE7S 5TNLhMpG3Cew2anjt3cqX47gRh5OptTNkwloq6faKApJmTs/qMP4wWoGxS/RaidtQUlk KFeJgsGTerClHp1RuxfuW/1mP35DO4m0KAJYd6siQeuluXJ5B7pUu3hOJJHwLoAAQOTT Hxtw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=t2ehr98/+rTL7PfDpH8Ry/AJxdIjjPlUhdGTTfS2sb8=; b=lWDl2ce/kRj+p4OBnx/Y7V6qRskWXYy9zxlnx3WWrQl0WXwz38gblTZIPMQGvdVz51 fifKXNptqSGrpkcnMx88YqSzhyuN5CQWK3fMdfSU7Jyz5nlHOH1mGoQtjN5RtTJv1JGl 9IoL0pm2TQDHYWpnW61qE58Vh3gFAgQPqlzmJO7VHv4WglWcHTNurMcEnN3UzRILnrvp 58Ih+ozdMw2D7McSqt1yP51bzgvdgQxmImIimz+LR7UFNirfFMWVcUcOLTqEozvgzHPP +GpgY8Xmw+tSo3N1gS25FCjhzR6W+vsCJgPJ0O5CnOLCos3FU+eCYfrRcbTKeL3qlFlx wzKQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si6437193edj.417.2019.11.03.18.08.53; Sun, 03 Nov 2019 18:09:17 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729026AbfKDBqW (ORCPT + 99 others); Sun, 3 Nov 2019 20:46:22 -0500 Received: from outbound.smtp.vt.edu ([198.82.183.121]:39764 "EHLO omr1.cc.vt.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728997AbfKDBqV (ORCPT ); Sun, 3 Nov 2019 20:46:21 -0500 Received: from mr6.cc.vt.edu (mr6.cc.vt.edu [IPv6:2607:b400:92:8500:0:af:2d00:4488]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id xA41kLOT025828 for ; Sun, 3 Nov 2019 20:46:21 -0500 Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mr6.cc.vt.edu (8.14.7/8.14.7) with ESMTP id xA41kFrq017758 for ; Sun, 3 Nov 2019 20:46:21 -0500 Received: by mail-qt1-f199.google.com with SMTP id u26so17367305qtq.1 for ; Sun, 03 Nov 2019 17:46:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=t2ehr98/+rTL7PfDpH8Ry/AJxdIjjPlUhdGTTfS2sb8=; b=XSN6K3a/mzq1d6ycLvj2j5eL4V2T6qJuLS8owolkAdF6G6kD5DfjENNxPiKaU6rv6d cufiPCQKFp+1u5Q9Nr2SUhuLonidFq102NGlrH808ktSd63ej0kfdkh8CqlhaarPZpv1 +zDyQ+CuQNYfLgpr7J6GCyMuyrqJjwgrBJGvRYlK5LsADp/8jOv8Dl7aNQ8eQzIinDx3 BmRJiDRwpj6sRvLb5JgfeaDjT35TBHrvUA4gxZon34eoDNC3M0xEG1TYSeiDp8l7plAz Gipd7iFI+pFhkKqVt12hiaVM817dK3EZUNFJyt3dZUU4lM8MXbwYl2zL2KPDjX/vJdow v3iQ== X-Gm-Message-State: APjAAAVUJ3jxozdIkeTMAOa6HzcUmX4Eyi+mQ2fmkL2Jwb5SHfZWDNWA zVZaVExS14Ba56d0fXnJGhhQrdI1taGmBQ5lnVScWqiVfVqacRbDo5cidlLohES+ezuqEEA0Paa YQbvLm02ed3MrK7LoJXfSAoQFgGqyHodLo+4= X-Received: by 2002:a05:620a:147c:: with SMTP id j28mr981930qkl.26.1572831975752; Sun, 03 Nov 2019 17:46:15 -0800 (PST) X-Received: by 2002:a05:620a:147c:: with SMTP id j28mr981912qkl.26.1572831975498; Sun, 03 Nov 2019 17:46:15 -0800 (PST) Received: from turing-police.lan ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id d2sm8195354qkg.77.2019.11.03.17.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Nov 2019 17:46:14 -0800 (PST) From: Valdis Kletnieks X-Google-Original-From: Valdis Kletnieks To: Valdis Kletnieks Cc: Valdis Kletnieks , Greg Kroah-Hartman , linux-fsdevel@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 06/10] staging: exfat: Clean up return codes - remove unused codes Date: Sun, 3 Nov 2019 20:45:02 -0500 Message-Id: <20191104014510.102356-7-Valdis.Kletnieks@vt.edu> X-Mailer: git-send-email 2.24.0.rc1 In-Reply-To: <20191104014510.102356-1-Valdis.Kletnieks@vt.edu> References: <20191104014510.102356-1-Valdis.Kletnieks@vt.edu> 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 are 6 FFS_* error values not used at all. Remove them. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 443fafe1d89d..b3fc9bb06c24 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -210,12 +210,6 @@ static inline u16 get_row_index(u16 i) /* return values */ #define FFS_SUCCESS 0 -#define FFS_MOUNTED 3 -#define FFS_NOTMOUNTED 4 -#define FFS_ALIGNMENTERR 5 -#define FFS_SEMAPHOREERR 6 -#define FFS_NOTOPENED 12 -#define FFS_MAXOPENED 13 #define NUM_UPCASE 2918 -- 2.24.0.rc1