From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1B9AC606C2 for ; Mon, 8 Jul 2019 15:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7AF57216F4 for ; Mon, 8 Jul 2019 15:16:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730448AbfGHPQQ (ORCPT ); Mon, 8 Jul 2019 11:16:16 -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-Google-Smtp-Source: APXvYqywOHj54jipuRrIB89UjWIzmuFjRHAVKyvuqOIMMZbH3/64R80z1LqgM04DZHwRgDWxC0zuZQ== 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