[alsa-devel] sound/soc/intel/atom/sst/sst_loader.c:407]: (style) Redundant condition

David Binderman dcb314 at hotmail.com
Mon Mar 27 12:42:22 CEST 2017


Hello there,

linux-4.11-rc4/sound/soc/intel/atom/sst/sst_loader.c:407]: (style) Redundant condition: If 'EXPR == 4', the comparison 'EXPR != 3' is always true.

Source code is

    if (sst_drv_ctx->sst_state !=  SST_RESET ||
            sst_drv_ctx->sst_state == SST_SHUTDOWN)

Regards

David Binderman


More information about the Alsa-devel mailing list