Browse Source

V4L/DVB (10214): Fix 'stb0899_get_srate' defined but not used warning

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil 16 years ago
parent
commit
9c17e2ea1e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/media/dvb/frontends/stb0899_algo.c

+ 3 - 0
drivers/media/dvb/frontends/stb0899_algo.c

@@ -31,6 +31,8 @@ inline u32 stb0899_do_div(u64 n, u32 d)
 	return n;
 }
 
+#if 0
+/* These functions are currently unused */
 /*
  * stb0899_calc_srate
  * Compute symbol rate
@@ -63,6 +65,7 @@ static u32 stb0899_get_srate(struct stb0899_state *state)
 
 	return stb0899_calc_srate(internal->master_clk, sfr);
 }
+#endif
 
 /*
  * stb0899_set_srate