net/sfc: remove unnecessary mbuf initialization on Rx
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 4 Apr 2017 11:57:36 +0000 (12:57 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit68de5f6c035a81e22cd992bf7bbd0931eca733ff
tree4c45475b181aee7ecd32746196a2bb94cfd0fb8f
parentcb4e16d948e7224608d4a950272cc678eafed4bc
net/sfc: remove unnecessary mbuf initialization on Rx

mbuf next is equal to NULL, nb_segs and reference counter are equal to 1
when mbuf is obtained from mempool.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_ef10_rx.c
drivers/net/sfc/sfc_rx.c