Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7004344ybi; Mon, 8 Jul 2019 12:30:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxySq5uDJIc6Uhb+vYYEiusT8GAShxD73MTcKF3Cpf5h0sorpEkyTOS2kUe09m88SNluz3/ X-Received: by 2002:a17:902:4b:: with SMTP id 69mr26791929pla.89.1562614235962; Mon, 08 Jul 2019 12:30:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562614235; cv=none; d=google.com; s=arc-20160816; b=KPaPr9RQ5qOAcYYNiKVMa+VwNWy/7bxYNkfhH3U8mM8pHQaYfvnmM1fFaxcQHj6JsO BrSYSEa4l51VUc3Ki7N/T3bx4Ya6R7kNijvgS9m0WNsAnuwaSPG0adwImzdk+bM9VgBj i1sH4ksIcgms5nUa5LbQZvs2hBf5WBwv1+EH7i0sHl/N2gOhBzSwfaWY8yZHIDjawBER DI+aJzbFot9B8IG9O2XE/Fz5mK5e/TE1pYIf+emsZFHD18zLyf0+In/Pfof9BgI8wKPA p6I7lGY6B+iiFw7DrokwChTGjDokA7LwBodVxaZ5BLeE3IGy10IEW1l11+I6OQepArP0 NQIg== 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 :message-id:date:subject:cc:to:from; bh=4qzR4omyvnCQwhdi4cNzf5tBSJqOSHSRkztTq96lWdM=; b=CaJLBFadFjHkC2mo/2pAFv1ep+qw3ufpBF88KGcWjC57zmT/DZGKJT6Td+waq7C/sG z3lSzshEwPslkfaRMbj98u0NHpSRaN1LU7YypDKGVlybYX9PRtsPNgwW+L5HBDjoqSla jgiWfNfFV5XOshXcCrYYTjCk1TbMz/fausFRrCAWGSUnEWpOLUngQhtehE+72Yg1KN+3 Ay3r5F5+J18d/PzPwpbZQYtVf7ORrZXeEaiCvNOGA85I87IF7PV+KjujZFQKb0vAztKd CoKG7y0cc10f/m73aRNcf0dcHeTHF9usXLNT9ABHfmjrPLMOr9d2B4Fwp84QahbZbSQ0 wiZg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j68si19674765plb.28.2019.07.08.12.30.20; Mon, 08 Jul 2019 12:30:35 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730446AbfGHPQP (ORCPT + 99 others); Mon, 8 Jul 2019 11:16:15 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52982 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732484AbfGHPQK (ORCPT ); Mon, 8 Jul 2019 11:16:10 -0400 Received: by mail-wm1-f68.google.com with SMTP id s3so16215649wms.2 for ; Mon, 08 Jul 2019 08:16:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4qzR4omyvnCQwhdi4cNzf5tBSJqOSHSRkztTq96lWdM=; b=ZWQ8ngwo7LPXEhMtdZT3TFlPspqa4w+MolShNw779kfBrsGJ0/C1sdQGaZhBC4o/8I UU3+AaXTT3gDTTsn9jtXPoBzBTTP4bWuUs+59k6MYnrxLSI1xlwwtvFfXRicrCtdeXJr pkPOu6lW3hNB3gBgPdy7LslXdrFEtM8ac8nKrvKWR7FHZvuyXI0ZoUPmHDonKJeJVwb1 ilruVxXuTyzcCkjc1rEzLSSw0y+RJSVAKeZ2ZpE3Ia2Lhh+6VnvnuF0VcZcIylFqcaFn 3RRjkQyJde6ca2+i4EyAmWRH2TcW4cWD62ULOrAcBqNvHHYjbD6rePaQ8+9LPBrNEnYq cM7g== X-Gm-Message-State: APjAAAVmYO0ilqRmgejCzbn3CZSDaTZbxWD1dZAOVNzxIHiNEdkl8p60 TBqqnXKbxavitTixLGaGzZg= X-Received: by 2002:a1c:5453:: with SMTP id p19mr16127157wmi.148.1562598969098; Mon, 08 Jul 2019 08:16:09 -0700 (PDT) Received: from green.intra.ispras.ru (bran.ispras.ru. [83.149.199.196]) by smtp.googlemail.com with ESMTPSA id l9sm12499891wmh.36.2019.07.08.08.16.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 08:16:08 -0700 (PDT) From: Denis Efremov To: Sven Schmidt <4sschmid@informatik.uni-hamburg.de> Cc: Denis Efremov , Arnd Bergmann , Bongkyu Kim , Rui Salvaterra , Sergey Senozhatsky , Herbert Xu , "David S . Miller" , Anton Vorontsov , Colin Cross , Kees Cook , Tony Luck , linux-kernel@vger.kernel.org Subject: [PATCH] lib/lz4: remove the exporting of LZ4HC_setExternalDict Date: Mon, 8 Jul 2019 18:15:55 +0300 Message-Id: <20190708151555.8070-1-efremov@linux.com> X-Mailer: git-send-email 2.21.0 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 The function LZ4HC_setExternalDict is declared static and marked EXPORT_SYMBOL, which is at best an odd combination. Because the function is not used outside of the lib/lz4/lz4hc_compress.c file it is defined in, this commit removes the EXPORT_SYMBOL() marking. Signed-off-by: Denis Efremov --- lib/lz4/lz4hc_compress.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/lz4/lz4hc_compress.c b/lib/lz4/lz4hc_compress.c index 176f03b83e56..1b61d874e337 100644 --- a/lib/lz4/lz4hc_compress.c +++ b/lib/lz4/lz4hc_compress.c @@ -663,7 +663,6 @@ static void LZ4HC_setExternalDict( /* match referencing will resume from there */ ctxPtr->nextToUpdate = ctxPtr->dictLimit; } -EXPORT_SYMBOL(LZ4HC_setExternalDict); static int LZ4_compressHC_continue_generic( LZ4_streamHC_t *LZ4_streamHCPtr, -- 2.21.0