Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752614AbbFEV4k (ORCPT ); Fri, 5 Jun 2015 17:56:40 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:34156 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751411AbbFEV4h (ORCPT ); Fri, 5 Jun 2015 17:56:37 -0400 Message-ID: <55721B11.9020303@gmail.com> Date: Fri, 05 Jun 2015 17:56:33 -0400 From: Andrej Manduch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Neil Horman , Nicholas Krause CC: vyasevich@gmail.com, davem@davemloft.net, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sctp: Simplify and make the function sctp_assoc_lookup_laddr bool References: <1433526062-2364-1-git-send-email-xerofoify@gmail.com> <20150605191610.GC29877@hmsreliant.think-freely.org> In-Reply-To: <20150605191610.GC29877@hmsreliant.think-freely.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 27 Hi Neil, I would like to kindly ask you to always put full patch in reply when you are replying to Nicks patch. Because he's banned from vger and only people on cc are able to see his patches and this is only way for rest of us to see what is in his patch. Thanks. On 06/05/2015 03:16 PM, Neil Horman wrote: >> This makes the function sctp_assoc_lookup_laddr bool due to it >> only returning either one or zero as its return value. Further >> more this function can we simplified to return the if statement >> as part of this function directly and thus remove the no longer >> required if statement due to this function now being declared >> as bool. >> >> Signed-off-by: Nicholas Krause -- Kind regards, b. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/