lkml.org 
[lkml]   [2017]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH][V2][netdev-next] gre: remove duplicated assignment of iph
    From
    From: Colin King <colin.king@canonical.com>
    Date: Wed, 23 Aug 2017 12:59:48 +0100

    > From: Colin Ian King <colin.king@canonical.com>
    >
    > iph is being assigned the same value twice; remove the redundant
    > first assignment. (Thanks to Nikolay Aleksandrov for pointing out
    > that the first asssignment should be removed and not the second)
    >
    > Fixes warning:
    > net/ipv4/ip_gre.c:265:2: warning: Value stored to 'iph' is never read
    >
    > Signed-off-by: Colin Ian King <colin.king@canonical.com>

    Much better, applied, thanks.

    \
     
     \ /
      Last update: 2017-08-24 07:37    [W:3.765 / U:2.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site