mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
tulip: dmfe: Remove old log spamming pr_debugs
Commit726b65ad44
("tulip: Convert uses of KERN_DEBUG") enabled some old previously inactive uses of pr_debug converted by commitdde7c8ef16
("tulip/dmfe.c: Use dev_<level> and pr_<level>"). Remove these pr_debugs. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f560f6697f
commit
0b8f6273eb
1 changed files with 0 additions and 4 deletions
|
@ -879,7 +879,6 @@ static void dmfe_free_tx_pkt(struct DEVICE *dev, struct dmfe_board_info * db)
|
|||
txptr = db->tx_remove_ptr;
|
||||
while(db->tx_packet_cnt) {
|
||||
tdes0 = le32_to_cpu(txptr->tdes0);
|
||||
pr_debug("tdes0=%x\n", tdes0);
|
||||
if (tdes0 & 0x80000000)
|
||||
break;
|
||||
|
||||
|
@ -889,7 +888,6 @@ static void dmfe_free_tx_pkt(struct DEVICE *dev, struct dmfe_board_info * db)
|
|||
|
||||
/* Transmit statistic counter */
|
||||
if ( tdes0 != 0x7fffffff ) {
|
||||
pr_debug("tdes0=%x\n", tdes0);
|
||||
dev->stats.collisions += (tdes0 >> 3) & 0xf;
|
||||
dev->stats.tx_bytes += le32_to_cpu(txptr->tdes1) & 0x7ff;
|
||||
if (tdes0 & TDES0_ERR_MASK) {
|
||||
|
@ -986,7 +984,6 @@ static void dmfe_rx_packet(struct DEVICE *dev, struct dmfe_board_info * db)
|
|||
/* error summary bit check */
|
||||
if (rdes0 & 0x8000) {
|
||||
/* This is a error packet */
|
||||
pr_debug("rdes0: %x\n", rdes0);
|
||||
dev->stats.rx_errors++;
|
||||
if (rdes0 & 1)
|
||||
dev->stats.rx_fifo_errors++;
|
||||
|
@ -1638,7 +1635,6 @@ static u8 dmfe_sense_speed(struct dmfe_board_info * db)
|
|||
else /* DM9102/DM9102A */
|
||||
phy_mode = phy_read(db->ioaddr,
|
||||
db->phy_addr, 17, db->chip_id) & 0xf000;
|
||||
pr_debug("Phy_mode %x\n", phy_mode);
|
||||
switch (phy_mode) {
|
||||
case 0x1000: db->op_mode = DMFE_10MHF; break;
|
||||
case 0x2000: db->op_mode = DMFE_10MFD; break;
|
||||
|
|
Loading…
Reference in a new issue