Fix the following compile warning when CONFIG_MEDIA_CONTROLLER_DVB is disabled: drivers/media/dvb-core/dvb_frontend.c: In function 'dvb_frontend_open': drivers/media/dvb-core/dvb_frontend.c:2526:1: warning: label 'err2' defined but not used [-Wunused-label] err2: Signed-off-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> --- drivers/media/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 6a759f5..9e7ee83 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -2522,8 +2522,8 @@ err3: #ifdef CONFIG_MEDIA_CONTROLLER_DVB if (fe->dvb->mdev && fe->dvb->mdev->disable_source) fe->dvb->mdev->disable_source(dvbdev->entity); -#endif err2: +#endif dvb_generic_release(inode, file); err1: if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html