lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #8794] [PATCH] Drop unnecessary NULL test for h->nex


From: Axel Lin
Subject: [lwip-devel] [patch #8794] [PATCH] Drop unnecessary NULL test for h->next->next in memp_sanity
Date: Tue, 17 Nov 2015 02:19:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?8794>

                 Summary: [PATCH] Drop unnecessary NULL test for h->next->next
in memp_sanity
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: axellin
            Submitted on: Tue 17 Nov 2015 02:19:57 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

The h will point to NULL if h->next->next is NULL anyway.
So remove the unnecessary NULL test for h->next->next in each iteration.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 17 Nov 2015 02:19:57 AM GMT  Name:
0001-Drop-unnecessary-NULL-test-for-h-next-next-in-memp_s.patch  Size: 965B  
By: axellin

<http://savannah.nongnu.org/patch/download.php?file_id=35476>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8794>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]