commit | 0ba987181028ab41cdc68fa91b74c98d97b93ff3 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Thu Feb 01 11:26:23 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 01 09:48:42 2018 -0500 |
tree | caa74f975b96a07d78930ee41e81ad6f7d1b7c6b | |
parent | 367dc6586d2d9c0c347b567f7efec57f59c376fd [diff] |
inet: Avoid unitialized variable warning in inet_unhash() With gcc-4.1.2: net/ipv4/inet_hashtables.c: In function ‘inet_unhash’: net/ipv4/inet_hashtables.c:628: warning: ‘ilb’ may be used uninitialized in this function While this is a false positive, it can easily be avoided by using the pointer itself as the canary variable. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>