Skip to content

Commit 7d149c5

Browse files
Villemoesdavem330
authored andcommitted
net: ethernet: broadcom: bnx2x: Remove redundant #ifdef
Nothing defines _ASM_GENERIC_INT_L64_H, it is a weird way to check for 64 bit longs, and u64 should be printed using %llx anyway. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cbd5228 commit 7d149c5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,7 @@ static void bnx2x_tpa_start(struct bnx2x_fastpath *fp, u16 queue,
483483

484484
#ifdef BNX2X_STOP_ON_ERROR
485485
fp->tpa_queue_used |= (1 << queue);
486-
#ifdef _ASM_GENERIC_INT_L64_H
487-
DP(NETIF_MSG_RX_STATUS, "fp->tpa_queue_used = 0x%lx\n",
488-
#else
489486
DP(NETIF_MSG_RX_STATUS, "fp->tpa_queue_used = 0x%llx\n",
490-
#endif
491487
fp->tpa_queue_used);
492488
#endif
493489
}

0 commit comments

Comments
 (0)