driver: net: fm: separate receive buffer free code
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Thu, 23 Apr 2020 13:25:17 +0000 (16:25 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 29 Apr 2020 05:40:54 +0000 (11:10 +0530)
commit1c710187a5758d627d46ddedb8357ce2da8ceed6
tree4569c3cc28cbd28f1ddfad8ee90231208ca3e08d
parent8313cb02155e4696450656964abe4f0d5b352d21
driver: net: fm: separate receive buffer free code

Move the receive buffer free code in a separate function.

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fm/eth.c