From patchwork Wed Apr 12 20:12:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Conole X-Patchwork-Id: 750151 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3w3FTw4D2Zz9sD5 for ; Thu, 13 Apr 2017 06:13:08 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bytheb-org.20150623.gappssmtp.com header.i=@bytheb-org.20150623.gappssmtp.com header.b="Q+4urWNL"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755361AbdDLUMg (ORCPT ); Wed, 12 Apr 2017 16:12:36 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:36098 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753172AbdDLUMe (ORCPT ); Wed, 12 Apr 2017 16:12:34 -0400 Received: by mail-qt0-f194.google.com with SMTP id v3so5337792qtd.3 for ; Wed, 12 Apr 2017 13:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytheb-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=OCX3fgUEAyayd2snFtx6TKJRVMSG0wVtxSUmNGj3Mkk=; b=Q+4urWNLB1XPcyf0aY/UPxMcToxNBHNbrFIccA8LNTdenVXUe2hFbF9UuhFcr5lEgO sCD0ACF2D9IGWRnVdl/eDeBoC8vz/N7FCO01urY3o+PjosEKJA1X8xkuIydkHBG5DZQ4 XtjIf8kC+bzBeVMuXGpyW+sezEUKnXlJH5c0GSsSO2WAsMtsZiyKWzlhQ1EKK/KAXqYe Xffm9lEpaDQ8eMmbnc0FFUITI2t+b3AkhoaoiJXo1w9E0JDAcMj2npA8CVadAiVrG8UC 21f6obKClmNvVK3AbSi3ryxvY69bLjvoOa0AVpHrEugc6loN+egMVb6x+zsrycHxU5Ev GMKg== 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; bh=OCX3fgUEAyayd2snFtx6TKJRVMSG0wVtxSUmNGj3Mkk=; b=jLyYAgBEHunAI++4h0JV6S9EWgKs1chOZxbRWRRRyV68tSdc3qT++ly0hb8hKxHqaq MyAA7YYncA8Zxa39Rr/RwW6o2lchjGmsUrYd4smF5lFys9u5nDPxpH/sS+Lf2PepNX86 LUnLejw9u5mFQ/XpQnD6b0Dqm+vpr5F6qL+9ywtrRan9VfEf0du4GvzKIMCvKk7gr5Os F91VaEBmzsVJ1tfidAWC43v0C5PlvvcVxkmB5N2VfCaU40NjD2fRefkeBjIcaPnnqvzl vOXkRJ2SOqM7lXshw75oh5qrAHPvAQT6ytDxAp+OBUzamy1TDgfqe0yGG4w5XE//pnv4 9aYA== X-Gm-Message-State: AFeK/H3W8Rl6Ok70+wO604W/B0f0NxcrLTPWn74NYnjz0spQe4z4yxTehfaBzMgBfjSeNQ== X-Received: by 10.200.54.247 with SMTP id b52mr64646768qtc.160.1492027953689; Wed, 12 Apr 2017 13:12:33 -0700 (PDT) Received: from dhcp-25-97.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id 127sm14112108qkf.64.2017.04.12.13.12.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 13:12:32 -0700 (PDT) From: Aaron Conole To: netfilter-devel@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Pablo Neira Ayuso , Jozsef Kadlecsik Subject: [PATCH nf-next] nf_tables: remove double return statement Date: Wed, 12 Apr 2017 16:12:28 -0400 Message-Id: <20170412201228.13585-1-aconole@bytheb.org> X-Mailer: git-send-email 2.9.3 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Signed-off-by: Aaron Conole --- net/netfilter/nf_tables_api.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 2d822d2..1452fb7 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -4435,8 +4435,6 @@ static int nf_tables_getobj(struct net *net, struct sock *nlsk, err: kfree_skb(skb2); return err; - - return 0; } static void nft_obj_destroy(struct nft_object *obj)