macb: fix memory leakage due to double allocation of rx_buffer
Remove memory allocation of rx buffer in function
macb_init_rx_buffer_size, which caused a memory leak since it also is
alocated in macb_probe().

Signed-off-by: Thomas Haemmerle <thomas.haemmerle@wolfvision.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 14d2d51 commit 757140d009fd4bcdcde0a534ed5dcafb9e11fa0c
@Thomas Hämmerle Thomas Hämmerle authored on 8 Jan 2019
Sascha Hauer committed on 9 Jan 2019
Showing 1 changed file
View
drivers/net/macb.c