tuners/mxl5005s.c: 2 * ternary operator problems ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

[linux-3.19-rc3/drivers/media/tuners/mxl5005s.c:1817]: (style) Same expression in both branches of ternary operator.
[linux-3.19-rc3/drivers/media/tuners/mxl5005s.c:1818]: (style) Same expression in both branches of ternary operator.

Source code is

    status += MXL_ControlWrite(fe,
        RFSYN_EN_CHP_HIGAIN, state->Mode ? 1 : 1);
    status += MXL_ControlWrite(fe, EN_CHP_LIN_B, state->Mode ? 0 : 0);

Suggest code rework.

Regards

David Binderman
 		 	   		  --
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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux