[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150605191610.GC29877@hmsreliant.think-freely.org>
Date: Fri, 5 Jun 2015 15:16:10 -0400
From: Neil Horman <nhorman@...driver.com>
To: Nicholas Krause <xerofoify@...il.com>
Cc: vyasevich@...il.com, davem@...emloft.net,
linux-sctp@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sctp: Simplify and make the function
sctp_assoc_lookup_laddr bool
On Fri, Jun 05, 2015 at 01:41:02PM -0400, Nicholas Krause 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 <xerofoify@...il.com>
Acked-by: Neil Horman <nhorman@...driver.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists