tipc: eliminate uninitialized variable warning
authorYing Xue <ying.xue@windriver.com>
Wed, 15 Jun 2016 06:11:31 +0000 (14:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jun 2016 04:47:23 +0000 (21:47 -0700)
commitc91522f860bb9dd4178c8280bbebd4f4321b7199
tree9b2f2fa943611fba8dde90320a3c1e3fe4081759
parent66d95b6705a6347f7b2645e042874ec0bb03b726
tipc: eliminate uninitialized variable warning

net/tipc/link.c: In function ‘tipc_link_timeout’:
net/tipc/link.c:744:28: warning: ‘mtyp’ may be used uninitialized in this function [-Wuninitialized]

Fixes: 42b18f605fea ("tipc: refactor function tipc_link_timeout()")
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c