diff options
author | Geert Uytterhoeven | 2014-04-06 15:56:14 +0200 |
---|---|---|
committer | David S. Miller | 2014-04-07 15:08:17 -0400 |
commit | 065d7e39563b092dbb429373bd8f0f2295768cea (patch) | |
tree | 826d2f8fe79e1a7d1de5e62c1ac462b74288eb8a /drivers/net/ethernet/cadence/at91_ether.c | |
parent | 39d7f3200801a993bff15ea89d83e99d0c479594 (diff) |
tipc: Let tipc_release() return 0
net/tipc/socket.c: In function ‘tipc_release’:
net/tipc/socket.c:352: warning: ‘res’ is used uninitialized in this function
Introduced by commit 24be34b5a0c9114541891d29dff1152bb1a8df34 ("tipc:
eliminate upcall function pointers between port and socket"), which
removed the sole initializer of "res".
Just return 0 to fix it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/at91_ether.c')
0 files changed, 0 insertions, 0 deletions