Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1599750 > unrolled thread

[PATCH v2 2/2] staging: dvb-frontends: removed code in comments.

Started byArushi Singhal <arushisinghal19971997@gmail.com>
First post2017-03-13 21:10 +0100
Last post2017-03-13 21:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/2] staging: dvb-frontends: removed code in comments. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-13 21:10 +0100

#1599750 — [PATCH v2 2/2] staging: dvb-frontends: removed code in comments.

FromArushi Singhal <arushisinghal19971997@gmail.com>
Date2017-03-13 21:10 +0100
Subject[PATCH v2 2/2] staging: dvb-frontends: removed code in comments.
Message-ID<tkEs1-5H9-5@gated-at.bofh.it>
Commenting out Code is a Bad Idea.
Comments are their to explain the code and how the code achieves its
goal and as codes in the comments  does not explain what the code is
doing so there is no use of commenting them.
So in this patch codes in the comments are removed.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
 changes in v2
 - Improve the commit message

 drivers/media/dvb-frontends/drxk_hard.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c
index 7e1bbbaad625..2fe493768003 100644
--- a/drivers/media/dvb-frontends/drxk_hard.c
+++ b/drivers/media/dvb-frontends/drxk_hard.c
@@ -5283,7 +5283,6 @@ static int qam_set_symbolrate(struct drxk_state *state)
 	/* Select & calculate correct IQM rate */
 	adc_frequency = (state->m_sys_clock_freq * 1000) / 3;
 	ratesel = 0;
-	/* printk(KERN_DEBUG "drxk: SR %d\n", state->props.symbol_rate); */
 	if (state->props.symbol_rate <= 1188750)
 		ratesel = 3;
 	else if (state->props.symbol_rate <= 2377500)
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web