lkml.org 
[lkml]   [2015]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Less checks in batadv_tvlv_unicast_send()
    Date
    On Sunday, November 15, 2015 09:45:51 SF Markus Elfring wrote:
    > From: Markus Elfring <elfring@users.sourceforge.net>
    > Date: Sun, 15 Nov 2015 09:00:42 +0100
    >
    > * Let us return directly if a call of the batadv_orig_hash_find() function
    > returned a null pointer.
    >
    > * Omit the initialisation for the variable "skb" at the beginning.
    >
    > * Replace an assignment by a call of the kfree_skb() function
    > and delete the affected variable "ret" then.
    >
    > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    > ---
    > net/batman-adv/main.c | 15 +++++----------
    > 1 file changed, 5 insertions(+), 10 deletions(-)

    Applied in revision 5a878b8.

    Thanks,
    Marek
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2015-11-21 23:21    [W:4.513 / U:1.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site