summaryrefslogtreecommitdiff
path: root/drivers/misc/echo/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/echo/echo.c')
-rw-r--r--drivers/misc/echo/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/echo/echo.c b/drivers/misc/echo/echo.c
index 9597e9523cac..fff13176f9b8 100644
--- a/drivers/misc/echo/echo.c
+++ b/drivers/misc/echo/echo.c
@@ -454,7 +454,7 @@ int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx)
*/
ec->factor = 0;
ec->shift = 0;
- if ((ec->nonupdate_dwell == 0)) {
+ if (!ec->nonupdate_dwell) {
int p, logp, shift;
/* Determine: