From: Geert Uytterhoeven <[email protected]>
Date: Sun, 6 Apr 2014 15:56:14 +0200
> 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 <[email protected]>
Applied, thanks a lot Geert.