net: macb: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 25 Jan 2016 06:13:09 +0000 (11:43 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jan 2016 18:51:52 +0000 (10:51 -0800)
commit36df745536ab81956cf68329c8049ad07f4a0cf0
treed41c9c70cce9c19aa8c70834b6b3ecad3d9eac1a
parent5cfa30397bc3677250a3e71aebde7b40ecb2b25a
net: macb: fix build warning

We are getting build warning about:
macb.c:2889:13: warning: 'tx_clk' may be used uninitialized in this function
macb.c:2888:11: warning: 'hclk' may be used uninitialized in this function

In reality they are not used uninitialized as clk_init() will initialize
them, this patch will just silence the warning.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c