Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp880396yba; Thu, 18 Apr 2019 11:06:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0Kwm/IEDl2XhZ2bNv+fF92+bO12mJw6kK8V1/fQXnvgRQn0PAZcoXslb/iIT0xtD46rz5 X-Received: by 2002:a17:902:585:: with SMTP id f5mr65548978plf.116.1555610818526; Thu, 18 Apr 2019 11:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555610818; cv=none; d=google.com; s=arc-20160816; b=cBzfvYWcISCUT6H1CKxWen0WTQs036QaZo6SMxeniaIiIFcReLOCbKoA0DUQigy8wd 7nXzWUpLp4ZKPlkIQn7iL1MCiVGD8rasXFOZyBokEhtuNRefSkmhYUjwbT+hBcRJiBOy jmyh+GS0coStXFYIQ/4qHmWONiD/RAliV2spb4ZLlVENKDC0XXlzMNlKK4/UwKF4kRiv ABex3VLZRnqqtg9trjtgOPLg6DsfoZ8xVB6eMuibOAYetSX/qR0GJVtZwUTiO4UGIeLw hA57BtqJbFbLHLAFKbOjZdWVViS0y4D+d0fTF3XQ3IsGpp6o+7jDAoC0ns5uRxDsvBoA NxZw== 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=gUeldqwBKD4qAE4379HBWtL92EdcwFJ3H449MDA/55Y=; b=f8zA8eXfXjOFE+h5n/5O9mHU9LZXe20PlIDdM3rs3yI/53kBRZohRi2BsC6Muol2YU T8NEeGC1igALkjrxYAHUil8cm/xzveZBAGJhCN5KrbtqJPCRNRUUs7nNI4n1OIx5Hyn2 RMeVMtubGugiAMyxBpAHtLqdWBbZwhwO7+zjJlRXZG+VyU6xCN4RgXhqz9+EBhSZXN6U RGyZ2khFcaiOd2E8glMXU/Z050aUPiO+McIXSqlQr7fCLL8UYhvZz6h5ZbGblH4aKhXE rRgWUPhm89FJrr6u/VyMhWPcHagqoiJC2hvzwDHhTqJ3NaDq26ukAlUXeUMFaaguOyNt 8RKg== 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=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63si2803794pld.147.2019.04.18.11.06.43; Thu, 18 Apr 2019 11:06:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390594AbfDRSFH (ORCPT + 99 others); Thu, 18 Apr 2019 14:05:07 -0400 Received: from relay.sw.ru ([185.231.240.75]:41800 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391218AbfDRSFG (ORCPT ); Thu, 18 Apr 2019 14:05:06 -0400 Received: from [172.16.25.12] (helo=i7.sw.ru) by relay.sw.ru with esmtp (Exim 4.91) (envelope-from ) id 1hHBP8-0005BU-UQ; Thu, 18 Apr 2019 21:04:59 +0300 From: Andrey Ryabinin To: "David S. Miller" Cc: Eric Dumazet , Mel Gorman , Willem de Bruijn , Florian Westphal , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Andrey Ryabinin Subject: [PATCH 3/4] net/skbuff: remove unused skb_propagate_pfmemalloc() Date: Thu, 18 Apr 2019 21:05:23 +0300 Message-Id: <20190418180524.23489-3-aryabinin@virtuozzo.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418180524.23489-1-aryabinin@virtuozzo.com> References: <20190418180524.23489-1-aryabinin@virtuozzo.com> 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 skb_propagate_pfmemalloc() never has been used, remove it. Signed-off-by: Andrey Ryabinin --- include/linux/skbuff.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 676e54f84de4..bda9d0865a25 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -2847,18 +2847,6 @@ static inline struct page *dev_alloc_page(void) return dev_alloc_pages(0); } -/** - * skb_propagate_pfmemalloc - Propagate pfmemalloc if skb is allocated after RX page - * @page: The page that was allocated from skb_alloc_page - * @skb: The skb that may need pfmemalloc set - */ -static inline void skb_propagate_pfmemalloc(struct page *page, - struct sk_buff *skb) -{ - if (page_is_pfmemalloc(page)) - skb->pfmemalloc = true; -} - /** * skb_frag_page - retrieve the page referred to by a paged fragment * @frag: the paged fragment -- 2.21.0