Skip to content

Commit

Permalink
vxge: remove unnecessary printks
Browse files Browse the repository at this point in the history
Remove printks for ring blocks, fifo blocks, and rx doorbell mode as
they clutter the dmesg output during modprobe and provide no useful
information.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jon Mason authored and David S. Miller committed Dec 1, 2010
1 parent 8afe7c8 commit 1bacdbb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/net/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3922,9 +3922,6 @@ static void __devinit vxge_print_parm(struct vxgedev *vdev, u64 vpath_mask)
vxge_debug_init(VXGE_TRACE,
"%s: MAC Address learning enabled", vdev->ndev->name);

vxge_debug_init(VXGE_TRACE,
"%s: Rx doorbell mode enabled", vdev->ndev->name);

for (i = 0; i < VXGE_HW_MAX_VIRTUAL_PATHS; i++) {
if (!vxge_bVALn(vpath_mask, i, 1))
continue;
Expand All @@ -3937,14 +3934,6 @@ static void __devinit vxge_print_parm(struct vxgedev *vdev, u64 vpath_mask)
((struct __vxge_hw_device *)(vdev->devh))->
config.vp_config[i].rpa_strip_vlan_tag
? "Enabled" : "Disabled");
vxge_debug_init(VXGE_TRACE,
"%s: Ring blocks : %d", vdev->ndev->name,
((struct __vxge_hw_device *)(vdev->devh))->
config.vp_config[i].ring.ring_blocks);
vxge_debug_init(VXGE_TRACE,
"%s: Fifo blocks : %d", vdev->ndev->name,
((struct __vxge_hw_device *)(vdev->devh))->
config.vp_config[i].fifo.fifo_blocks);
vxge_debug_ll_config(VXGE_TRACE,
"%s: Max frags : %d", vdev->ndev->name,
((struct __vxge_hw_device *)(vdev->devh))->
Expand Down

0 comments on commit 1bacdbb

Please sign in to comment.