Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7dd6027 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

vxge: remove duplicated part of check



This is just a cleanup to make the static checkers happy.  We don't need
to check "own" twice.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarRam Vepa <ram.vepa@exar.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 17f7f4d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1240,7 +1240,7 @@ enum vxge_hw_status vxge_hw_ring_rxd_next_completed(
	*t_code	= (u8)VXGE_HW_RING_RXD_T_CODE_GET(control_0);

	/* check whether it is not the end */
	if (!own || ((*t_code == VXGE_HW_RING_T_CODE_FRM_DROP) && own)) {
	if (!own || *t_code == VXGE_HW_RING_T_CODE_FRM_DROP) {

		vxge_assert(((struct vxge_hw_ring_rxd_1 *)rxdp)->host_control !=
				0);