Skip to contentSkip to conversation

dib0090: cleanup dib0090_dcc_freq()

PATCH New Németh Márton 1 participant 1 message Jan 16, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dib0090: cleanup dib0090_dcc_freq()

From: Márton Németh <[email protected]>

'extern' is not needed at function definition.

This will remove the following sparse warning (see "make C=1"):
* function 'dib0090_dcc_freq' with external linkage has definition

---

linux/drivers/media/dvb/frontends/dib0090.c +1 -1
diff -r 5bcdcc072b6d linux/drivers/media/dvb/frontends/dib0090.c
@@ -283,7 +283,7 @@
 	return 0;
 }
 
-extern void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast)
+void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast)
 {
 	struct dib0090_state *state = fe->tuner_priv;
 	if (fast)