net: sxgbe: Fix waring for double kfree()
authorByungho An <bh74.an@samsung.com>
Thu, 15 Jan 2015 01:43:11 +0000 (10:43 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jan 2015 00:01:10 +0000 (19:01 -0500)
commitf7d855566ff69207be1052ceecbf455f89490b42
treed0de74bbec41497ba26105ad701dd4e4fd2bc492
parent1c1832c7cd35db90b126a984685b44858ad63d01
net: sxgbe: Fix waring for double kfree()

This patch fixes double kfree() calls at init_rx_ring() because
it causes static checker warning.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c