From: Andreas Monzner Date: Sat, 19 Nov 2005 12:40:48 +0000 (+0000) Subject: nicer code X-Git-Tag: 2.6.0~5053 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/9bbcaf7052e0b4d75de7483e1b01cb334dda9d84 nicer code --- diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index 13ae473b..f2c3401d 100644 --- a/lib/dvb/frontend.cpp +++ b/lib/dvb/frontend.cpp @@ -633,7 +633,7 @@ RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where) return -ENOENT; } - res = m_sec->prepare(*this, parm, feparm, m_fe ? 1 << m_fe : 1); + res = m_sec->prepare(*this, parm, feparm, 1 << m_fe); if (res) return res; #if HAVE_DVB_API_VERSION < 3 @@ -919,5 +919,5 @@ int eDVBFrontend::isCompatibleWith(ePtr &feparm) ASSERT(!feparm->getDVBS(sat_parm)); - return m_sec->canTune(sat_parm, this, m_fe ? 1 << m_fe : 1); + return m_sec->canTune(sat_parm, this, 1 << m_fe); }