net/enic: remove a couple unnecessary statements
authorHyong Youb Kim <hyonkim@cisco.com>
Wed, 10 Jan 2018 09:17:07 +0000 (01:17 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite5f5b9269f083038010679a6de429cf6fa13bf81
treef53971140c01596fe0cb4b01706feea2ea3d166e
parentc23cd156f01eacb35c84c238abfa666007829b9a
net/enic: remove a couple unnecessary statements

No need to zero ol_flags as it is overwritten at the end of the
function. No need to check for EOP as the caller (enic_recv_pkts) has
already checked it.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_rxtx.c