diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-07-21 12:01:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-27 17:58:44 -0400 |
commit | 450694c3b9f47b826a002089c463b9454b4bbe42 (patch) | |
tree | a6acbc692df92be600251083e345e430980b9b32 /drivers/media/dvb-core/dvb_frontend.c | |
parent | ae64fe26acdc1837e4b1c87dc0e5187900a66708 (diff) | |
download | linux-450694c3b9f47b826a002089c463b9454b4bbe42.tar.gz linux-450694c3b9f47b826a002089c463b9454b4bbe42.tar.bz2 linux-450694c3b9f47b826a002089c463b9454b4bbe42.zip |
media: dvb_frontend: initialize variable s with FE_NONE instead of 0
GIT_AUTHOR_NAME=Colin King
GIT_AUTHOR_EMAIL=colin.king@canonical.com
In a previous commit, we added FE_NONE as an unknown fe_status.
Initialize variable s to FE_NONE instead of the more opaque value 0.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_frontend.c')
-rw-r--r-- | drivers/media/dvb-core/dvb_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 18cc3bbc699c..114994ca0929 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -460,7 +460,7 @@ static int dvb_frontend_swzigzag_autotune(struct dvb_frontend *fe, int check_wra static void dvb_frontend_swzigzag(struct dvb_frontend *fe) { - enum fe_status s = 0; + enum fe_status s = FE_NONE; int retval = 0; struct dvb_frontend_private *fepriv = fe->frontend_priv; struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; |