Skip to contentSkip to conversation

Remove debug output from stb6100_cfg.h

PATCH In review Artem Makhutov 3 participants 3 messages Mar 26, 2009 – Mar 27, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove debug output from stb6100_cfg.h

This patch removes the debug output from stb6100_cfg.h as it is flooding the syslog with tuning data during normal operation.

drivers/media/dvb/frontends/stb6100_cfg.h +0 -4
@@ -36,7 +36,6 @@
 			return err;
 		}
 		*frequency = t_state.frequency;
-		printk("%s: Frequency=%d\n", __func__, t_state.frequency);
 	}
 	return 0;
 }
@@ -59,7 +58,6 @@
 			return err;
 		}
 	}
-	printk("%s: Frequency=%d\n", __func__, t_state.frequency);
 	return 0;
 }
 
@@ -81,7 +79,6 @@
 		}
 		*bandwidth = t_state.bandwidth;
 	}
-	printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
 	return 0;
 }
 
@@ -103,6 +100,5 @@
 			return err;
 		}
 	}
-	printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
 	return 0;
 }
#1 lore raw

Manu,

If ok to you, please ack.

On Thu, 26 Mar 2009 10:45:53 +0100
Artem Makhutov <[email protected]> wrote:

This patch removes the debug output from stb6100_cfg.h as it is flooding the syslog with tuning data during normal operation.

drivers/media/dvb/frontends/stb6100_cfg.h +0 -4
@@ -36,7 +36,6 @@
 			return err;
 		}
 		*frequency = t_state.frequency;
-		printk("%s: Frequency=%d\n", __func__, t_state.frequency);
 	}
 	return 0;
 }
@@ -59,7 +58,6 @@
 			return err;
 		}
 	}
-	printk("%s: Frequency=%d\n", __func__, t_state.frequency);
 	return 0;
 }
 
@@ -81,7 +79,6 @@
 		}
 		*bandwidth = t_state.bandwidth;
 	}
-	printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
 	return 0;
 }
 
@@ -103,6 +100,5 @@
 			return err;
 		}
 	}
-	printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
 	return 0;
 }

Cheers,
Mauro

Acked-by
#2 lore raw
Quoted 4 lines · Mauro Carvalho Chehab

Manu,

If ok to you, please ack.

Quoted 8 lines

On Thu, 26 Mar 2009 10:45:53 +0100
Artem Makhutov <[email protected]> wrote:

This patch removes the debug output from stb6100_cfg.h as it is flooding the syslog with tuning data during normal operation.

Looks okay,

Quoted 34 lines
drivers/media/dvb/frontends/stb6100_cfg.h +0 -4
@@ -36,7 +36,6 @@
 			return err;
 		}
 		*frequency = t_state.frequency;
-		printk("%s: Frequency=%d\n", __func__, t_state.frequency);
 	}
 	return 0;
 }
@@ -59,7 +58,6 @@
 			return err;
 		}
 	}
-	printk("%s: Frequency=%d\n", __func__, t_state.frequency);
 	return 0;
 }
 
@@ -81,7 +79,6 @@
 		}
 		*bandwidth = t_state.bandwidth;
 	}
-	printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
 	return 0;
 }
 
@@ -103,6 +100,5 @@
 			return err;
 		}
 	}
-	printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
 	return 0;
 }